diff options
| author | Robert Günzler <r@gnzler.io> | 2020-06-17 18:20:36 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-06-17 18:33:31 +0200 |
| commit | 3970849e518ba15f17ecd91f19d16e5869c41f6d (patch) | |
| tree | 0d612a635d7482449a5246f448a7904a71d6400b /.config | |
| parent | f1f129b483f8b916fa3a44e7897ea9319d82837c (diff) | |
sway: add more elaborate exit action
Diffstat (limited to '.config')
| -rw-r--r-- | .config/sway/binds.conf | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf index 81e3e39..498a4df 100644 --- a/.config/sway/binds.conf +++ b/.config/sway/binds.conf @@ -24,7 +24,13 @@ floating_modifier $mod normal bindsym $mod+Shift+c reload # exit sway (logs you out of your wayland session) -bindsym $mod+Shift+e exit +bindsym $mod+Shift+e exec swaynag \ + -t warning \ + -m 'exit: what now?' \ + -b 'exit' 'swaymsg exit' \ + -b 'poweroff' 'daos poweroff' \ + -b 'reboot' 'doas reboot' + bindsym $mod+Shift+p exec $HOME/.dotfiles/bin/lock bindsym $mod+Shift+s mode "screengrab" |