🖼️ Replaced Swww with Hyprpaper, turned back on screen off after idle,

fixed wallpaper on lockscreen, fixed hyprshot dir
This commit is contained in:
2025-01-12 20:32:36 +01:00
parent 6fbe3a6da0
commit b12c09719a
9 changed files with 52 additions and 24 deletions

View File

@ -1,6 +1,7 @@
let
# Time in seconds
lockAfter = 1200;
screenOffAfter = 1500;
suspendAfter = 7200;
in
{
@ -19,12 +20,12 @@ in
timeout = lockAfter;
on-timeout = "loginctl lock-session";
}
# Turn off screens TODO buggy main monitor, turns off and on after resume
# {
# timeout = 120;
# on-timeout = "hyprctl dispatch dpms off";
# on-resume = "hyprctl dispatch dpms on";
# }
# Turn off screens
{
timeout = screenOffAfter;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
# Suspend
{
timeout = suspendAfter;