aboutsummaryrefslogtreecommitdiff
path: root/home/.config/i3
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-03 22:31:18 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-03 22:31:20 -0400
commit219c9587e147c2c240aa0646717c0d28c51129b6 (patch)
treebbdfce3b801deba4e5caac53117166ee2d018e58 /home/.config/i3
parent9241489e9b5a9377973028b641710783651d7297 (diff)
xss-lock ignores sleep
xss-lock ignores sleep so that hibernate goes unnoticed because pass is typed at disk unencrypt anyway. i3 needs to lock on suspend
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 1aec065..f603809 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 systemctl hybrid-sleep
+bindsym $mod+x exec i3lock --nofork -i ~/bg/sc.png -k && systemctl hybrid-sleep
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.