mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-05 00:33:09 +02:00
some more stuff
Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
parent
3bff77b17e
commit
d223e323bf
2 changed files with 5 additions and 0 deletions
|
@ -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'`)
|
||||
|
|
|
@ -115,6 +115,7 @@ in {
|
|||
notify-desktop
|
||||
libnotify
|
||||
xdg-desktop-portal-hyprland
|
||||
jq
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue