Commit 308b8ee9 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Reverted i3exit (/usr/bin) to default and added options to lock+suspend

& lock+hibernate from within i3 config.
parent 3b555b26
...@@ -336,15 +336,17 @@ bindsym $mod_next+l exec i3exit lock ...@@ -336,15 +336,17 @@ bindsym $mod_next+l exec i3exit lock
# Set shut down, restart and locking features # Set shut down, restart and locking features
bindsym $mod+0 mode "$mode_system" bindsym $mod+0 mode "$mode_system"
set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (Shift+s)uspend+lock, (h)ibernate, (Shift+h)ibernate+lock, (r)eboot, shut(d)own
mode "$mode_system" { mode "$mode_system" {
bindsym l exec --no-startup-id i3exit lock, mode "default" bindsym l exec --no-startup-id i3exit lock, mode "default"
bindsym s exec --no-startup-id i3exit suspend, mode "default" bindsym s exec --no-startup-id i3exit suspend, mode "default"
bindsym Shift+s exec --no-startup-id "i3exit lock; i3exit suspend", mode "default"
bindsym u exec --no-startup-id i3exit switch_user, mode "default" bindsym u exec --no-startup-id i3exit switch_user, mode "default"
bindsym e exec --no-startup-id i3exit logout, mode "default" bindsym e exec --no-startup-id i3exit logout, mode "default"
bindsym h exec --no-startup-id i3exit hibernate, mode "default" bindsym h exec --no-startup-id i3exit hibernate, mode "default"
bindsym Shift+h exec --no-startup-id "i3exit lock; i3exit hibernate", mode "default"
bindsym r exec --no-startup-id i3exit reboot, mode "default" bindsym r exec --no-startup-id i3exit reboot, mode "default"
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default" bindsym d exec --no-startup-id i3exit shutdown, mode "default"
# exit system mode: "Enter" or "Escape" # exit system mode: "Enter" or "Escape"
bindsym Return mode "default" bindsym Return mode "default"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment