abra: i3 shutdown

This commit is contained in:
Meutel 2017-11-19 09:39:11 +01:00
parent efac8270eb
commit 81b475ab1b

View File

@ -170,6 +170,8 @@ bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# reboot/poweroff
bindsym $mod+Shift+x exec "i3-nagbar -t warning -m 'You pressed the shutdown shortcut. Do you really want to shutdown?' -b 'Yes, reboot' 'exec sudo /sbin/reboot' -b 'Yes, power off' 'exec sudo /sbin/poweroff'"
# resize window (you can also use the mouse for that)
mode "resize" {