Compare commits
2 Commits
3e462a042c
...
d5092cb54e
Author | SHA1 | Date | |
---|---|---|---|
d5092cb54e | |||
2743f421ee |
@ -122,14 +122,14 @@ bindsym $mod+Shift+0 move container to workspace 10; workspace 10
|
||||
#Press $mod (super) and X to exit - check toolbar for next choices
|
||||
bindsym $mod+x mode "$mode_system"
|
||||
|
||||
set $mode_system System (k) lock, (l) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate
|
||||
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate
|
||||
mode "$mode_system" {
|
||||
bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
|
||||
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
|
||||
bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
|
||||
bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
|
||||
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
|
||||
bindsym e exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
|
||||
bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
|
||||
bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
|
||||
bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
|
||||
bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
|
@ -131,14 +131,18 @@ bind = ALT_$mod, L, exit,
|
||||
bind = $mod, x, submap, | (S)hutdown, (R)eboot, (E)xit |
|
||||
# power management submap
|
||||
submap = | (S)hutdown, (R)eboot, (E)xit |
|
||||
# logout
|
||||
bind = , e, exit,
|
||||
# lock
|
||||
# TODO
|
||||
# logout
|
||||
bind = , e, exit,
|
||||
# poweroff
|
||||
bind = , s, exec, systemctl poweroff
|
||||
# reboot
|
||||
bind = , r, exec, systemctl reboot
|
||||
# suspend
|
||||
# TODO
|
||||
# hibernate
|
||||
# TODO
|
||||
|
||||
# use reset to go back to the global submap
|
||||
bind=,escape,submap,reset
|
||||
|
Loading…
Reference in New Issue
Block a user