about summary refs log tree commit diff
path: root/users/grfn/system/home/modules
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/system/home/modules')
-rw-r--r--users/grfn/system/home/modules/i3.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/grfn/system/home/modules/i3.nix b/users/grfn/system/home/modules/i3.nix
index d31089133c2d..c56c9d556ba8 100644
--- a/users/grfn/system/home/modules/i3.nix
+++ b/users/grfn/system/home/modules/i3.nix
@@ -142,6 +142,10 @@ in {
               # Lock
               Pause = "exec lock";
 
+              # Brightness
+              "XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl -q s 5%-";
+              "XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl -q s 5%+";
+
               # Sleep/hibernate
               # "${mod}+Escape" = "exec systemctl suspend";
               # "${mod}+Shift+Escape" = "exec systemctl hibernate";