From 07e700aebc1cea991fd68e82a46869a1d287a23f Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Sun, 3 May 2020 23:56:50 -0400
Subject: 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.
---
home/.xinitrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'home/.xinitrc')
diff --git a/home/.xinitrc b/home/.xinitrc
index cee79e8..16e53fb 100644
--- a/home/.xinitrc
+++ b/home/.xinitrc
@@ -1,5 +1,5 @@
picom -b
-xss-lock --ignore-sleep -- i3lock --nofork -i ~/bg/sc.png -k &
+xss-lock --ignore-sleep -- ~/.lock &
setxkbmap -layout us -variant dvp -option caps:escape
feh --bg-fill --no-fehbg ~/bg/sc.png
st &
--
cgit