Created
March 29, 2016 12:38
-
-
Save pantuts/13623a7ba5e7e1c4ce44 to your computer and use it in GitHub Desktop.
i3 wm shutdown/reboot/logout mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create Log out, Reboot, Poweroff bindings | |
mode "Exit (L)ogout, (R)eboot, (P)oweroff" { | |
bindsym $mod+r exec systemctl reboot | |
bindsym $mod+l exit | |
bindsym $mod+p exec systemctl poweroff | |
# back to normal: Enter or Escape | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
} | |
bindsym $mod+Shift+e mode "Exit (L)ogout, (R)eboot, (P)oweroff" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awesome.