some more stuff

Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
Alex Stan 2023-06-05 18:37:12 +03:00
parent 3bff77b17e
commit d223e323bf
2 changed files with 5 additions and 0 deletions

View file

@ -30,6 +30,7 @@
(box
:class "time"
time))
(defpoll time :interval "1s"
`date +'%I
%M
@ -49,3 +50,6 @@
(defwidget workspace [number]
(box :class "workspace"
(button :onclick "hyprctl dispatch workspace ${number}" number)))
(defpoll curr_workspace :interval "0s"
`hyprctl activeworkspace -j | jq '.id'`)

View file

@ -115,6 +115,7 @@ in {
notify-desktop
libnotify
xdg-desktop-portal-hyprland
jq
];
};