Better screen brightness management
This commit is contained in:
parent
394312a184
commit
767f80a3d7
2 changed files with 4 additions and 4 deletions
|
|
@ -248,8 +248,8 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
bindel = [
|
bindel = [
|
||||||
", XF86MonBrightnessUp, exec, brillo -A 10"
|
", XF86MonBrightnessUp, exec, brillo -O -A 10"
|
||||||
", XF86MonBrightnessDown, exec, brillo -U 10"
|
", XF86MonBrightnessDown, exec, brillo -O -U 10"
|
||||||
", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+"
|
", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+"
|
||||||
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-"
|
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@
|
||||||
timeouts = [
|
timeouts = [
|
||||||
{
|
{
|
||||||
timeout = 60;
|
timeout = 60;
|
||||||
command = "${pkgs.brillo}/bin/brillo -e -S 10 -u 1000000";
|
command = "${pkgs.brillo}/bin/brillo -e -O; ${pkgs.brillo}/bin/brillo -e -S 10 -u 1000000";
|
||||||
resumeCommand = "${pkgs.brillo}/bin/brillo -e -S 100";
|
resumeCommand = "${pkgs.brillo}/bin/brillo -e -I";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 120;
|
timeout = 120;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue