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";
|
"XF86AudioPrev" = playerctl "previous";
|
||||||
|
|
||||||
# Exit
|
# 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"'';
|
-B "Reboot" "reboot" -B "Shutdown" "poweroff" -b "Exit" "swaymsg exit"'';
|
||||||
|
|
||||||
# Workspaces
|
# Workspaces
|
||||||
|
@ -132,9 +133,7 @@ in {
|
||||||
"${modifier}+Shift+6" = "move container to workspace 60:settings";
|
"${modifier}+Shift+6" = "move container to workspace 60:settings";
|
||||||
};
|
};
|
||||||
|
|
||||||
output."*" = {
|
output."*".bg = "${../../assets/background.png} fill";
|
||||||
bg = "${../../assets/background.png} fill";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
''
|
''
|
||||||
font=JetBrainsMono 10
|
font=JetBrainsMono 10
|
||||||
layer=top
|
layer=top
|
||||||
|
edge=bottom
|
||||||
|
|
||||||
[exit]
|
[exit]
|
||||||
background=111320D0
|
background=111320D0
|
||||||
|
|
Loading…
Reference in a new issue