Compare commits

..

No commits in common. "d5092cb54e4515fbf3671f5ada8787619d20cf56" and "3e462a042cfb785d7851128934333b996999650f" have entirely different histories.

2 changed files with 7 additions and 11 deletions

View File

@ -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 #Press $mod (super) and X to exit - check toolbar for next choices
bindsym $mod+x mode "$mode_system" bindsym $mod+x mode "$mode_system"
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate set $mode_system System (k) lock, (l) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate
mode "$mode_system" { mode "$mode_system" {
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" bindsym k 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 l 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 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 h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, 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"
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"

View File

@ -131,18 +131,14 @@ bind = ALT_$mod, L, exit,
bind = $mod, x, submap, | (S)hutdown, (R)eboot, (E)xit | bind = $mod, x, submap, | (S)hutdown, (R)eboot, (E)xit |
# power management submap # power management submap
submap = | (S)hutdown, (R)eboot, (E)xit | submap = | (S)hutdown, (R)eboot, (E)xit |
# lock
# TODO
# logout # logout
bind = , e, exit, bind = , e, exit,
# lock
# TODO
# poweroff # poweroff
bind = , s, exec, systemctl poweroff bind = , s, exec, systemctl poweroff
# reboot # reboot
bind = , r, exec, systemctl reboot bind = , r, exec, systemctl reboot
# suspend
# TODO
# hibernate
# TODO
# use reset to go back to the global submap # use reset to go back to the global submap
bind=,escape,submap,reset bind=,escape,submap,reset