Fix backlight control
This commit is contained in:
parent
1931644900
commit
75d5fa6417
5 changed files with 9 additions and 5 deletions
|
|
@ -141,7 +141,6 @@ in {
|
|||
};
|
||||
|
||||
packages = with pkgs.unstable; [
|
||||
xorg.xbacklight
|
||||
xorg.xinit
|
||||
xorg.xwininfo
|
||||
xorg.xkill
|
||||
|
|
|
|||
|
|
@ -110,8 +110,8 @@ myAdditionalKeys = [
|
|||
("<XF86AudioLowerVolume>" ,spawn "pulsemixer --change-volume -1"),
|
||||
("<XF86AudioRaiseVolume>" ,spawn "pulsemixer --change-volume +1"),
|
||||
("<XF86AudioMute>" ,spawn "pulsemixer --toggle-mute"),
|
||||
("<XF86MonBrightnessDown>" ,spawn "xbacklight -dec 5"),
|
||||
("<XF86MonBrightnessUp>" ,spawn "xbacklight -inc 5"),
|
||||
("<XF86MonBrightnessDown>" ,spawn "light -U 5"),
|
||||
("<XF86MonBrightnessUp>" ,spawn "light -A 5"),
|
||||
("<XF86AudioPlay>" ,spawn "mpc toggle"),
|
||||
("M-p" ,spawn "mpc toggle"),
|
||||
("<XF86AudioPrev>" ,spawn "mpc prev"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue