From 219c9587e147c2c240aa0646717c0d28c51129b6 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Sun, 3 May 2020 22:31:18 -0400
Subject: 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
---
home/.config/i3/config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'home/.config/i3')
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.
--
cgit