diff options
| author | Robert Günzler <r@gnzler.io> | 2023-01-19 15:09:29 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2023-01-19 15:09:37 +0100 |
| commit | 1b7a05b96b629f717a36db81486956db191f70a5 (patch) | |
| tree | a6e88fe86ca854c3e8095b4c6841963ae10b6be1 /.config/sway/binds.conf | |
| parent | e473c57690197344a3f69f6f62dcee472513edb2 (diff) | |
sway: s/dpms/power/
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/sway/binds.conf')
| -rw-r--r-- | .config/sway/binds.conf | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf index a449127..441093b 100644 --- a/.config/sway/binds.conf +++ b/.config/sway/binds.conf @@ -27,13 +27,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' 'doas poweroff' \ -# -b 'reboot' 'doas reboot' +bindsym $mod+Shift+e exec swaynag \ + -t warning \ + -m 'exit: what now?' \ + -b 'exit' 'swaymsg exec -- doas s6-rc -d change desktop' \ + -b 'restart' 'swaymsg exec -- doas s6-rc -d change desktop && sleep 0.5 && doas s6-rc -u change desktop' \ + -b 'poweroff' 'swaymsg exec -- doas poweroff' \ + -b 'reboot' 'swaymsg exec -- doas reboot' bindsym $mod+Shift+backspace exec lock |