This commit is contained in:
joygnu 2024-08-22 19:02:54 +02:00
parent 1549bd56d9
commit 42d489f4bd
3 changed files with 9 additions and 3 deletions

View file

@ -4,12 +4,12 @@
settings = { settings = {
listener = [ listener = [
{ {
timeout = 600; timeout = 300;
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 = 1200; timeout = 600;
on-timeout = "systemctl suspend"; on-timeout = "systemctl suspend";
on-resume = "hyprctl dispatch dpms on"; on-resume = "hyprctl dispatch dpms on";
} }

View file

@ -48,7 +48,7 @@
exec-once = [ exec-once = [
"ags" "ags"
"hypridle" "sh ~/nix/home/hyprland/scripts/hypridle.sh"
]; ];
windowrule = [ windowrule = [

View file

@ -0,0 +1,6 @@
#!/bin/sh
hostname=$(hostname)
[ "$hostname" = "latop" ] && hyprilde