hypridle fix

This commit is contained in:
joy 2024-08-09 20:58:10 +02:00
parent 1836439d96
commit 34e93f6ae9
2 changed files with 3 additions and 6 deletions

View file

@ -3,14 +3,9 @@
services.hypridle = { services.hypridle = {
enable = true; enable = true;
settings = { settings = {
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
};
listener = [ listener = [
{ {
timeout = 1200; 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";
} }

View file

@ -10,6 +10,7 @@
slurp slurp
hyprpicker hyprpicker
swappy swappy
hypridle
]; ];
services.cliphist.enable = true; services.cliphist.enable = true;
@ -42,6 +43,7 @@
exec-once = [ exec-once = [
"ags" "ags"
"hypridle"
]; ];
windowrule = [ windowrule = [