Fix hyprland fullscreen configs
This commit is contained in:
parent
4a03ca25f2
commit
e48a215886
1 changed files with 8 additions and 9 deletions
|
|
@ -57,18 +57,17 @@ in
|
|||
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = 30;
|
||||
on-timeout = "${pkgs.brillo}/bin/brillo -e -O; ${pkgs.brillo}/bin/brillo -e -S 10 -u 1000000"; # lower screen backlight
|
||||
on-resume = "${pkgs.brillo}/bin/brillo -e -I"; # restore screen backlight
|
||||
}
|
||||
{
|
||||
timeout = 60;
|
||||
on-timeout = "${pkgs.brillo}/bin/brillo -e -O; ${pkgs.brillo}/bin/brillo -e -S 10 -u 1000000";
|
||||
on-resume = "${pkgs.brillo}/bin/brillo -e -I";
|
||||
on-timeout = "loginctl lock-session"; # lock screen
|
||||
}
|
||||
{
|
||||
timeout = 120;
|
||||
on-timeout = "${pkgs.brillo}/bin/brillo -e -S 0;";
|
||||
on-resume = "${pkgs.brillo}/bin/brillo -e -S 100";
|
||||
}
|
||||
{
|
||||
timeout = 330; # 5.5min
|
||||
timeout = 300;
|
||||
on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed
|
||||
on-resume = "hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
|
@ -318,7 +317,7 @@ in
|
|||
"workspace 9, class:(teams-for-linux)"
|
||||
"workspace 10, class:(spotify)"
|
||||
"tile, class:(Godot)"
|
||||
"idleinhibit fullscreenm class:.*"
|
||||
"idleinhibit fullscreen, class:(.*)"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue