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
This commit is contained in:
2026-03-07 08:25:00 -05:00
parent 1bce17c5f9
commit 36873c324b

View File

@@ -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%+"