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:
parent
8c98092908
commit
037190c38a
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
''
|
||||
font=JetBrainsMono 10
|
||||
layer=top
|
||||
edge=bottom
|
||||
|
||||
[exit]
|
||||
background=111320D0
|
||||
|
|
Loading…
Reference in a new issue