Created
December 12, 2016 22:45
-
-
Save stefan2904/f1bb5fe1cfa7ca92c0ba3de8591dae6f to your computer and use it in GitHub Desktop.
system bar in i3
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
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (p) shutdown | (d) disable redshift | |
mode "$mode_system" { | |
bindsym l exec --no-startup-id i3lock -c 444444, mode "default" | |
bindsym e exec --no-startup-id i3-msg exit, mode "default" | |
bindsym s exec --no-startup-id systemctl suspend, mode "default" | |
bindsym h exec --no-startup-id systemctl hibernate, mode "default" | |
bindsym r exec --no-startup-id systemctl reboot, mode "default" | |
bindsym p exec --no-startup-id systemctl poweroff, mode "default" | |
bindsym d exec --no-startup-id redshift -O 6500, mode "default" | |
# back to normal: Enter or Escape | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
} | |
bindsym $mod+Delete mode "$mode_system" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment