mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Enable dimming timer on the laptop
This commit is contained in:
parent
c95386910d
commit
f228deb270
1 changed files with 6 additions and 1 deletions
|
|
@ -16,7 +16,12 @@
|
|||
beforeSleepCmd = "loginctl lock-session";
|
||||
listeners = [
|
||||
{
|
||||
timeout = 1800;
|
||||
timeout = 300;
|
||||
onTimeout = "brillo -q -O && brillo -q -S 10";
|
||||
onResume = "brillo -q -I";
|
||||
}
|
||||
{
|
||||
timeout = 1200;
|
||||
onTimeout = "systemctl suspend";
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue