Created
December 10, 2018 16:01
-
-
Save fredj/93b1699f5a909464e24b1a900a485650 to your computer and use it in GitHub Desktop.
This file contains 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
# exit i3 (logs you out of your X session) | |
set $mode_system System (e) logout, (r) reboot, (Shift+s) shutdown | |
mode "$mode_system" { | |
bindsym e exec --no-startup-id i3exit logout, mode "default" | |
bindsym r exec --no-startup-id i3exit reboot, mode "default" | |
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default" | |
# back to normal: Enter or Escape | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
} | |
bindsym $mod+Shift+e mode "$mode_system" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment