mirror of
https://github.com/nix-community/plasma-manager.git
synced 2024-11-22 09:56:47 +03:00
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
Some checks are pending
GitHub Pages Docs Generation / publish (ubuntu-latest) (push) Waiting to run
This commit is contained in:
parent
7fb80fea23
commit
353abd9684
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user