Use xbacklight
parent
47de67e111
commit
570ecc674e
|
@ -84,7 +84,6 @@
|
|||
programs = {
|
||||
fish.enable = true;
|
||||
seahorse.enable = true;
|
||||
light.enable = true;
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
|
|
5
home.nix
5
home.nix
|
@ -31,6 +31,7 @@ in {
|
|||
clipnotify
|
||||
dmenu
|
||||
i3lock-fancy
|
||||
xorg.xbacklight
|
||||
];
|
||||
file = {
|
||||
".background-image".source = ./assets/background-image;
|
||||
|
@ -260,6 +261,10 @@ in {
|
|||
"${modifier}+7" = "workspace number 7";
|
||||
"${modifier}+8" = "workspace number 8";
|
||||
"${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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue