From 5c9320ddf1badbf59807c8442ff2ed0f9a6f1d7b Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Fri, 24 Apr 2020 18:28:22 -0400 Subject: added hibernation support --- home/.config/i3/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'home/.config/i3/config') diff --git a/home/.config/i3/config b/home/.config/i3/config index 15e55f4..bfa1b48 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -22,6 +22,10 @@ bindsym $scr exec xrandr --output HDMI-2 --mode 1920x1080 bindsym Shift+$scr exec xrandr --output HDMI-2 --off bindsym $mod+$scr exec xrandr --output HDMI-2 --auto --right-of eDP-1 +# Hibernation +bindsym $mod+x exec systemctl suspend +bindsym $mod+Shift+x exec systemctl hibernate + # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango:monospace 8 @@ -179,5 +183,3 @@ hide_edge_borders true for_window [class=".*"] border pixel 0 gaps inner 20 gaps outer -20 - -bindsym $mod+q exec systemctl suspend -- cgit