fix(hyprland): cap output volume at 100 percent

This commit is contained in:
2026-07-24 14:11:04 -04:00
parent 75373ebdc1
commit f967bc47bc

View File

@@ -142,10 +142,10 @@ in
++ workspaceBinds; ++ workspaceBinds;
# Volume and brightness keys repeat while held, each raising a popup # Volume and brightness keys repeat while held, each raising a popup
# through the OSD client. Volume is capped at 150 percent; the client # through the OSD client. Volume is capped at 100 percent; the client
# floors brightness so a full hold cannot black the screen out. # floors brightness so a full hold cannot black the screen out.
binde = [ binde = [
", XF86AudioRaiseVolume, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume raise --max-volume 150" ", XF86AudioRaiseVolume, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume raise --max-volume 100"
", XF86AudioLowerVolume, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume lower" ", XF86AudioLowerVolume, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume lower"
", XF86MonBrightnessUp, exec, ${pkgs.swayosd}/bin/swayosd-client --brightness raise" ", XF86MonBrightnessUp, exec, ${pkgs.swayosd}/bin/swayosd-client --brightness raise"
", XF86MonBrightnessDown, exec, ${pkgs.swayosd}/bin/swayosd-client --brightness lower" ", XF86MonBrightnessDown, exec, ${pkgs.swayosd}/bin/swayosd-client --brightness lower"