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
|
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display
|
||||||
};
|
};
|
||||||
listener = [
|
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;
|
timeout = 60;
|
||||||
on-timeout = "${pkgs.brillo}/bin/brillo -e -O; ${pkgs.brillo}/bin/brillo -e -S 10 -u 1000000";
|
on-timeout = "loginctl lock-session"; # lock screen
|
||||||
on-resume = "${pkgs.brillo}/bin/brillo -e -I";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 120;
|
timeout = 300;
|
||||||
on-timeout = "${pkgs.brillo}/bin/brillo -e -S 0;";
|
|
||||||
on-resume = "${pkgs.brillo}/bin/brillo -e -S 100";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 330; # 5.5min
|
|
||||||
on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed
|
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.
|
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 9, class:(teams-for-linux)"
|
||||||
"workspace 10, class:(spotify)"
|
"workspace 10, class:(spotify)"
|
||||||
"tile, class:(Godot)"
|
"tile, class:(Godot)"
|
||||||
"idleinhibit fullscreenm class:.*"
|
"idleinhibit fullscreen, class:(.*)"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue