diff --git a/configuration.nix b/configuration.nix index 1fb593f..48c69ae 100644 --- a/configuration.nix +++ b/configuration.nix @@ -84,7 +84,6 @@ programs = { fish.enable = true; seahorse.enable = true; - light.enable = true; }; # List services that you want to enable: diff --git a/home.nix b/home.nix index b8740b5..9083490 100644 --- a/home.nix +++ b/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"; };