mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21:34 +01:00
Remove auto suspend
This commit is contained in:
parent
9e97a6379f
commit
3647d432f9
1 changed files with 2 additions and 6 deletions
|
|
@ -42,17 +42,13 @@ in {
|
||||||
afterSleepCmd = "hyprctl dispatch dpms on";
|
afterSleepCmd = "hyprctl dispatch dpms on";
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
timeout = 300;
|
timeout = 600;
|
||||||
onTimeout = "hyprctl dispatch dpms off";
|
onTimeout = "hyprctl dispatch dpms off";
|
||||||
onResume = "hyprctl dispatch dpms on";
|
onResume = "hyprctl dispatch dpms on";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
timeout = 600;
|
|
||||||
onTimeout = "loginctl lock-session";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
timeout = 1200;
|
timeout = 1200;
|
||||||
onTimeout = "systemctl suspend";
|
onTimeout = "loginctl lock-session";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue