Commit 44bc8d3c authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Switched to using systemd hibernate (testing).

parent 3dac0333
...@@ -314,6 +314,7 @@ for_window [title="MuseScore: Play Panel"] floating enable ...@@ -314,6 +314,7 @@ for_window [title="MuseScore: Play Panel"] floating enable
for_window [title="alsamixer"] floating enable border pixel 1 for_window [title="alsamixer"] floating enable border pixel 1
for_window [class="(?i)^timeshift-gtk$"] floating disable for_window [class="(?i)^timeshift-gtk$"] floating disable
for_window [class="(?i)^gnome-calculator$"] floating disable for_window [class="(?i)^gnome-calculator$"] floating disable
for_window [class="(?i)^workspacesclient$"] floating disable
# Application shortcuts # Application shortcuts
bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Return exec i3-sensible-terminal
...@@ -351,14 +352,14 @@ bindsym $mod+0 mode "$mode_system" ...@@ -351,14 +352,14 @@ bindsym $mod+0 mode "$mode_system"
set $mode_system (l)ock, (e)xit, switch_(u)ser, (Shift+s)uspend, (s)uspend+lock, (h)ibernate, (Shift+h)ibernate+lock, (r)eboot, shut(d)own set $mode_system (l)ock, (e)xit, switch_(u)ser, (Shift+s)uspend, (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 Shift+s exec --no-startup-id i3exit suspend, mode "default" bindsym Shift+s exec --no-startup-id "systemctl suspend", mode "default"
bindsym s exec --no-startup-id "i3exit lock; i3exit suspend", mode "default" bindsym s exec --no-startup-id "i3exit lock; systemctl 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 "systemctl hibernate", mode "default"
bindsym Shift+h exec --no-startup-id "i3exit lock; i3exit hibernate", mode "default" bindsym Shift+h exec --no-startup-id "i3exit lock; systemctl hibernate", mode "default"
bindsym r exec --no-startup-id i3exit reboot, mode "default" bindsym r exec --no-startup-id "i3exit reboot", mode "default"
bindsym d 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