Ensure power actions are correctly applied in powerdevil module (#368)
Some checks are pending
GitHub Pages Docs Generation / publish (ubuntu-latest) (push) Waiting to run

This commit is contained in:
Heitor Augusto 2024-09-22 09:14:01 -03:00 committed by GitHub
parent 7fb80fea23
commit 353abd9684
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,32 +2,34 @@
let
cfg = config.programs.plasma;
# Values can be found at:
# https://github.com/KDE/powerdevil/blob/master/daemon/powerdevilenums.h
powerButtonActions = {
nothing = 0;
sleep = 1;
hibernate = 2;
shutDown = 8;
lockScreen = 32;
showLogoutScreen = null;
showLogoutScreen = 16;
turnOffScreen = 64;
};
autoSuspendActions = {
nothing = 0;
hibernate = 2;
sleep = null;
sleep = 1;
shutDown = 8;
};
whenSleepingEnterActions = {
standby = null;
standby = 1;
hybridSleep = 2;
standbyThenHibernate = 3;
};
whenLaptopLidClosedActions = {
doNothing = 0;
sleep = null;
sleep = 1;
hibernate = 2;
shutdown = 8;
lockScreen = 32;