i3exit script and tmpfs functions

This commit is contained in:
2017-09-16 15:46:03 +01:00
parent ee022dc913
commit 38fc515717
4 changed files with 87 additions and 1 deletions

View File

@@ -149,6 +149,21 @@ mode "resize" {
bindsym $mod+r mode "resize"
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id i3exit lock, mode "default"
bindsym e exec --no-startup-id i3exit logout, mode "default"
bindsym s exec --no-startup-id i3exit suspend, mode "default"
bindsym h exec --no-startup-id i3exit hibernate, 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+Pause mode "$mode_system"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {