aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-04-24 18:28:22 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-04-24 18:28:22 -0400
commit5c9320ddf1badbf59807c8442ff2ed0f9a6f1d7b (patch)
tree5e43a3d25a2d310c83fb428f66239a78f584563c /home
parent14f1c41916deed3a4768fc7052efcea308e34b98 (diff)
added hibernation support
Diffstat (limited to 'home')
-rw-r--r--home/.config/i3/config6
1 files changed, 4 insertions, 2 deletions
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