diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-05-03 23:56:50 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-05-03 23:56:55 -0400 |
commit | 07e700aebc1cea991fd68e82a46869a1d287a23f (patch) | |
tree | 79b8834d95008282cb398aab95325204759f17db /src/etc | |
parent | 823dfd46f93e7248d5da9441983cd769323b2e60 (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 'src/etc')
-rw-r--r-- | src/etc/systemd/logind.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/systemd/logind.conf b/src/etc/systemd/logind.conf index 990f437..e4d6944 100644 --- a/src/etc/systemd/logind.conf +++ b/src/etc/systemd/logind.conf @@ -1,2 +1,3 @@ -HandleLidSwitch=hybrid-sleep +[Login] HandlePowerKey=hibernate +HandleLidSwitch=lock |