fixup! Hyprland: inhibit idle if fullscreen
This commit is contained in:
parent
013024979a
commit
4a03ca25f2
3 changed files with 4 additions and 8 deletions
|
|
@ -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";
|
||||
}
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue