From f2c432ff2c0efbaaf0892e878a1df6df85d32361 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Tue, 24 Mar 2026 14:40:58 +0100 Subject: [PATCH] fixed brightness ctrl and max volume --- hypr/modules/keybinds.conf | 10 ++++------ waybar/config.jsonc | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/hypr/modules/keybinds.conf b/hypr/modules/keybinds.conf index e11eab2..d836c5a 100644 --- a/hypr/modules/keybinds.conf +++ b/hypr/modules/keybinds.conf @@ -77,17 +77,15 @@ bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Laptop multimedia keys for volume and LCD brightness -bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ -bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+ +bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%- bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle -bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ -bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- +bindel = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl set 5%- # Requires playerctl bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous -bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ -bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 06eed02..54cc422 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -125,8 +125,8 @@ "return-type": "json", "exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol", "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", - "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+", - "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-", + "on-scroll-up": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+", + "on-scroll-down": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-", "on-click-right": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol --cycle", "on-click-middle": "pavucontrol", "interval": 1