mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:16:10 +01:00
feat: changed thor sleep times
This commit is contained in:
@@ -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
|
||||||
[ ];
|
[ ];
|
||||||
|
|||||||
Reference in New Issue
Block a user