aboutsummaryrefslogtreecommitdiff
path: root/home/.config/i3
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-03 23:56:50 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-03 23:56:55 -0400
commit07e700aebc1cea991fd68e82a46869a1d287a23f (patch)
tree79b8834d95008282cb398aab95325204759f17db /home/.config/i3
parent823dfd46f93e7248d5da9441983cd769323b2e60 (diff)
finally got this insane plan in order
So I want to lock on suspend but not on hibernate because my hard drive is encrypted, and this is a single user system, but xss-lock will only do suspend&hibernate or neither. So I wrapped lid close and i3lock with a script that locks and then hibernates. And xss-lock has sleep disabled so it now works.
Diffstat (limited to 'home/.config/i3')
-rw-r--r--home/.config/i3/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.config/i3/config b/home/.config/i3/config
index e5324a1..a94d916 100644
--- a/home/.config/i3/config
+++ b/home/.config/i3/config
@@ -24,7 +24,7 @@ bindsym $mod+$scr exec xrandr --output HDMI-2 --auto --right-of eDP-1 &&\
pactl set-card-profile 0 output:"hdmi-stereo-extra1"+input:analog-stereo
# Hibernation
-bindsym $mod+x exec i3lock -i ~/bg/sc.png -k && systemctl hybrid-sleep
+bindsym $mod+x exec ~/.lock
# 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