Reconfigure swaynag

Move swaynag's dialog to the bottom of the screen, and prevent sway from
spawning multiple copies of it
This commit is contained in:
Kiana Sheibani 2023-10-27 15:06:58 -04:00
parent 8c98092908
commit 037190c38a
2 changed files with 4 additions and 4 deletions

View file

@ -114,7 +114,8 @@ in {
"XF86AudioPrev" = playerctl "previous";
# Exit
"${modifier}+Shift+e" = ''exec swaynag -t exit -m "Do you really want to exit?" \
"${modifier}+Shift+e" = ''pkill -0 swaynag || \
swaynag -t exit -m "Do you really want to exit?" \
-B "Reboot" "reboot" -B "Shutdown" "poweroff" -b "Exit" "swaymsg exit"'';
# Workspaces
@ -132,9 +133,7 @@ in {
"${modifier}+Shift+6" = "move container to workspace 60:settings";
};
output."*" = {
bg = "${../../assets/background.png} fill";
};
output."*".bg = "${../../assets/background.png} fill";
};
};
}

View file

@ -4,6 +4,7 @@
''
font=JetBrainsMono 10
layer=top
edge=bottom
[exit]
background=111320D0