Add power management config to plasma-manager
Remove delay on mouse hover focus
This commit is contained in:
parent
463ef7e1a3
commit
f902d25011
|
@ -201,6 +201,61 @@
|
|||
};
|
||||
};
|
||||
|
||||
powerdevil =
|
||||
let
|
||||
powerButtonAction = "showLogoutScreen";
|
||||
autoSuspend.action = "sleep";
|
||||
whenSleepingEnter = "standby";
|
||||
whenLaptopLidClosed = "turnOffScreen";
|
||||
in
|
||||
{
|
||||
AC = {
|
||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||
autoSuspend = {
|
||||
inherit (autoSuspend) action;
|
||||
idleTimeout = 7200;
|
||||
};
|
||||
dimDisplay = {
|
||||
enable = true;
|
||||
idleTimeOut = 300;
|
||||
};
|
||||
turnOffDisplay = {
|
||||
idleTimeout = 1800;
|
||||
idleTimeoutWhenLocked = 120;
|
||||
};
|
||||
};
|
||||
battery = {
|
||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||
autoSuspend = {
|
||||
inherit (autoSuspend) action;
|
||||
idleTimeout = 1800;
|
||||
};
|
||||
dimDisplay = {
|
||||
enable = true;
|
||||
idleTimeOut = 120;
|
||||
};
|
||||
turnOffDisplay = {
|
||||
idleTimeout = 900;
|
||||
idleTimeoutWhenLocked = 60;
|
||||
};
|
||||
};
|
||||
lowBattery = {
|
||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||
autoSuspend = {
|
||||
inherit (autoSuspend) action;
|
||||
idleTimeout = 900;
|
||||
};
|
||||
dimDisplay = {
|
||||
enable = true;
|
||||
idleTimeOut = 60;
|
||||
};
|
||||
turnOffDisplay = {
|
||||
idleTimeout = 300;
|
||||
idleTimeoutWhenLocked = "immediately";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configFile = {
|
||||
baloofilerc."Basic Settings"."Indexing-Enabled" = false;
|
||||
kcminputrc.Keyboard.NumLock = 1;
|
||||
|
@ -285,6 +340,7 @@
|
|||
};
|
||||
Windows = {
|
||||
FocusPolicy = "FocusFollowsMouse";
|
||||
DelayFocusInterval = 0;
|
||||
RollOverDesktops = true;
|
||||
};
|
||||
NightColor = {
|
||||
|
|
Loading…
Reference in a new issue