mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-22 13:53: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
|
(box
|
||||||
:class "time"
|
:class "time"
|
||||||
time))
|
time))
|
||||||
|
|
||||||
(defpoll time :interval "1s"
|
(defpoll time :interval "1s"
|
||||||
`date +'%I
|
`date +'%I
|
||||||
%M
|
%M
|
||||||
|
@ -49,3 +50,6 @@
|
||||||
(defwidget workspace [number]
|
(defwidget workspace [number]
|
||||||
(box :class "workspace"
|
(box :class "workspace"
|
||||||
(button :onclick "hyprctl dispatch workspace ${number}" number)))
|
(button :onclick "hyprctl dispatch workspace ${number}" number)))
|
||||||
|
|
||||||
|
(defpoll curr_workspace :interval "0s"
|
||||||
|
`hyprctl activeworkspace -j | jq '.id'`)
|
||||||
|
|
|
@ -115,6 +115,7 @@ in {
|
||||||
notify-desktop
|
notify-desktop
|
||||||
libnotify
|
libnotify
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
|
jq
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue