started working on a screencast icon

This commit is contained in:
2025-03-08 20:54:00 +01:00
parent bd073c6dff
commit dcf4cd7452
6 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
(deflisten screencast :initial '{"event":"Screencast","data":{"state":0,"owner":0}}"' "hyprman -f screencast")
(defwidget hyprscreencast []
(box
:class "screencast${screencast.data.state == 1 ? '--active' : ''}"
(label
:padding 3
:text "${screencast.data.state == 1 ? '󰐯': '󱠎'}")))