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 = {
listener = [
{
timeout = 600;
timeout = 300;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
{
timeout = 1200;
timeout = 600;
on-timeout = "systemctl suspend";
on-resume = "hyprctl dispatch dpms on";
}

View file

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

View file

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