about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 d31089133c..c56c9d556b 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";