diff options
| -rw-r--r-- | share/home/niri.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/home/niri.nix b/share/home/niri.nix index 9b27a33..9c909a0 100644 --- a/share/home/niri.nix +++ b/share/home/niri.nix @@ -42,6 +42,7 @@ in pkgs.bemoji pkgs.grim pkgs.slurp + pkgs.brightnessctl ]; home.sessionVariables = { BEMOJI_PICKER_CMD = "${pkgs.tofi}/bin/tofi"; @@ -219,6 +220,14 @@ in allow-when-locked = true; action = spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }; + "XF86MonBrightnessUp" = { + allow-when-locked = true; + action = spawn "brightnessctl" "set" "10%+"; + }; + "XF86MonBrightnessDown" = { + allow-when-locked = true; + action = spawn "brightnessctl" "set" "10%-"; + }; # general window management "Mod+Shift+C".action = close-window; |
