From 6d442899593420691574414b4bc7f7e4082244b2 Mon Sep 17 00:00:00 2001 From: larstvei Date: Mon, 29 Sep 2025 01:12:22 +0200 Subject: [PATCH] Bindings for min/max brightness Note that setting brightness to 1 (minimal non-zero light) was not available before. --- modules/desktop/hyprland/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index f8641d2..0ab0f6f 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -166,6 +166,8 @@ ", XF86AudioMicMute, exec, pamixer --default-source -t" ", XF86MonBrightnessUp, exec, brightnessctl set +5%" ", XF86MonBrightnessDown, exec, brightnessctl set 5%-" + "SHIFT, XF86MonBrightnessUp, exec, brightnessctl set 100%" + "SHIFT, XF86MonBrightnessDown, exec, brightnessctl set 1" ] ++ builtins.concatLists ( builtins.genList (