diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-10-27 17:16:43 +0100 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-10-27 17:21:44 +0100 |
| commit | a4526ccdef85a4d1596e74625c727bcfa67d925c (patch) | |
| tree | 4a9b2c03bb916a7026560348d6464f90169e22da /share/home/niri.nix | |
| parent | ece78b31c3f6941245efdf2a6414f2df474a3dd1 (diff) | |
Diffstat (limited to 'share/home/niri.nix')
| -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; |
