From 36873c324b1e6cf140fc783bd8b69b9031c7c292 Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Sat, 7 Mar 2026 08:25:00 -0500 Subject: [PATCH] refactor(hyprland): adjust brightness step size and format code - Change brightness key bindings from 10% to 4%/5% for finer control - Reformat hyprland module to use one parameter per line --- .../programs/graphical/wms/hyprland/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/modules/home/programs/graphical/wms/hyprland/default.nix b/modules/home/programs/graphical/wms/hyprland/default.nix index 53bed38..c02e118 100755 --- a/modules/home/programs/graphical/wms/hyprland/default.nix +++ b/modules/home/programs/graphical/wms/hyprland/default.nix @@ -1,8 +1,9 @@ -{ lib -, pkgs -, config -, namespace -, ... +{ + lib, + pkgs, + config, + namespace, + ... }: let inherit (lib) types mkIf; @@ -92,8 +93,8 @@ in ",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" ",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" ",XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" - ",XF86MonBrightnessUp, exec, brightnessctl s 10%+" - ",XF86MonBrightnessDown, exec, brightnessctl s 10%-" + ",XF86MonBrightnessUp, exec, brightnessctl s 4%+" + ",XF86MonBrightnessDown, exec, brightnessctl s 5%-" # macOS Keyboard Brightness "$menuMod, XF86MonBrightnessUp, exec, brightnessctl -d kbd_backlight s 10%+"