aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/.config/sway/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/.config/sway/config b/templates/.config/sway/config
index 62ce805..a9275d1 100644
--- a/templates/.config/sway/config
+++ b/templates/.config/sway/config
@@ -62,6 +62,8 @@ input "1133:16493:Logitech_M705" {
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' -b 'Yes, exit sway' 'swaymsg exit'
+ bindsym $mod+Shift+z exec swaynag -t warning -m 'Do you really want to power off?' -b 'Yes, power off' 'sudo poweroff'
+ bindsym $mod+Shift+r exec swaynag -t warning -m 'Do you really want to reboot?' -b 'Yes, reboot' 'sudo reboot'
# Lock the screen
bindsym $mod+Shift+q exec swaylock -c 000000