Use xbacklight

work
Matthew Ess 2020-01-02 00:04:49 -05:00
parent 47de67e111
commit 570ecc674e
2 changed files with 5 additions and 1 deletions

View File

@ -84,7 +84,6 @@
programs = { programs = {
fish.enable = true; fish.enable = true;
seahorse.enable = true; seahorse.enable = true;
light.enable = true;
}; };
# List services that you want to enable: # List services that you want to enable:

View File

@ -31,6 +31,7 @@ in {
clipnotify clipnotify
dmenu dmenu
i3lock-fancy i3lock-fancy
xorg.xbacklight
]; ];
file = { file = {
".background-image".source = ./assets/background-image; ".background-image".source = ./assets/background-image;
@ -260,6 +261,10 @@ in {
"${modifier}+7" = "workspace number 7"; "${modifier}+7" = "workspace number 7";
"${modifier}+8" = "workspace number 8"; "${modifier}+8" = "workspace number 8";
"${modifier}+9" = "workspace number 9"; "${modifier}+9" = "workspace number 9";
"XF86AudioRaiseVolume" = "exec --no-startup-id amixer sset Master 5%+";
"XF86AudioLowerVolume" = "exec --no-startup-id amixer sset Master 5%-";
"XF86MonBrightnessUp" = "exec xbacklight -inc 20";
"XF86MonBrightnessDown" = "exec xbacklight -dec 20";
}; };
workspaceLayout = "tabbed"; workspaceLayout = "tabbed";
}; };