diff options
Diffstat (limited to 'modules/desktop/xremap/keybindings/brightnessctl.nix')
| -rw-r--r-- | modules/desktop/xremap/keybindings/brightnessctl.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/desktop/xremap/keybindings/brightnessctl.nix b/modules/desktop/xremap/keybindings/brightnessctl.nix new file mode 100644 index 0000000..b2f39cb --- /dev/null +++ b/modules/desktop/xremap/keybindings/brightnessctl.nix @@ -0,0 +1,18 @@ +{ pkgs }: + +{ + "XF86MonBrightnessDown" = { + launch = [ + "${pkgs.brightnessctl}/bin/brightnessctl" + "set" + "5%-" + ]; + }; + "XF86MonBrightnessUp" = { + launch = [ + "${pkgs.brightnessctl}/bin/brightnessctl" + "set" + "+5%" + ]; + }; +} |
