feat: changed thor sleep times

This commit is contained in:
2024-12-18 08:24:52 +01:00
parent e2bf162c92
commit ef36e6c289

View File

@@ -1,9 +1,8 @@
{ { lib
lib, , pkgs
pkgs, , inputs
inputs, , hostname
hostname, , ...
...
}: }:
{ {
# ------------------------------------------------ # ------------------------------------------------
@@ -713,26 +712,31 @@
else if hostname == "thor" then else if hostname == "thor" then
[ [
{ {
timeout = 300; timeout = 450;
on-timeout = "brightnessctl -s set 0"; on-timeout = "brightnessctl -s set 0";
on-resume = "brightnessctl -r"; on-resume = "brightnessctl -r";
} }
{ {
timeout = 400; # 10min timeout = 600;
on-timeout = "loginctl lock-session"; # lock screen when timeout has passed on-timeout = "loginctl lock-session"; # lock screen when timeout has passed
} }
{ {
timeout = 450; timeout = 750;
on-timeout = "hyprctl dispatch dpms off "; on-timeout = "hyprctl dispatch dpms off ";
on-resume = "hyprctl dispatch dpms on"; on-resume = "hyprctl dispatch dpms on";
} }
{ {
timeout = 600; timeout = 900;
on-timeout = "systemctl suspend"; on-timeout = "systemctl suspend";
} }
{
timeout = 1500;
on-timeout = "systemctl hibernate";
}
] ]
else else
[ ]; [ ];