adds hibernation

This commit is contained in:
2025-01-02 11:32:44 -08:00
parent 8af4b52d12
commit e78d8a3c05
3 changed files with 59 additions and 35 deletions

9
main/hibernation.pkla Normal file
View File

@@ -0,0 +1,9 @@
[Enable hibernate in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
[Enable hibernate in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes