commit 678cdb70bdd532a06ae350efcf0c5e41b237916d
parent 793a0f4be6bb7b0e662d12740deff07fd1c61d95
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 13 Sep 2024 23:13:40 +0200
users/vincent: bind some stuff for notifications…
because I don't have a bar anymore.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/users/vincent/desktop/sway.nix b/users/vincent/desktop/sway.nix
@@ -183,7 +183,11 @@ in
bindcode ${mod}+Shift+26 exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'"
bindcode ${mod}+32 mode resize
bindcode ${mod}+Shift+32 exec "${pkgs.swaylock}/bin/swaylock -i $HOME/desktop/pictures/lockscreen"
- bindcode ${mod}+24 exec "notify-send --icon=battery --category=info --urgency=critical \"$(acpi)\""
+
+ bindcode ${mod}+24 exec notify-send --icon=battery --category=info --urgency=critical "$(acpi)"
+ # bindcode ${mod}+58 exec
+ bindcode ${mod}+28 exec notify-send --icon=clock --category=info --urgency=critical "$(date +"%I:%M")"
+ bindcode ${mod}+Shift+28 exec notify-send --icon=clock --category=info --urgency=critical "$(date)"
# switch to workspace
bindcode ${mod}+10 workspace number 1