fixup! Hyprland: inhibit idle if fullscreen

This commit is contained in:
Filippo Berto 2025-03-01 15:02:25 +01:00
parent 013024979a
commit 4a03ca25f2
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
3 changed files with 4 additions and 8 deletions

View file

@ -51,7 +51,7 @@ in
enable = true;
settings = {
general = {
# ignore_dbus_inhibit = false;
ignore_dbus_inhibit = false;
lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances.
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display
@ -64,7 +64,7 @@ in
}
{
timeout = 120;
on-timeout = "${pkgs.brillo}/bin/brillo -e -S 0; loginctl lock-session ";
on-timeout = "${pkgs.brillo}/bin/brillo -e -S 0;";
on-resume = "${pkgs.brillo}/bin/brillo -e -S 100";
}
{