Repository navigation
Replies: 1 comment
|
you can achieve this with a wrapper script: #!/bin/bash
# Check if muted (1 = muted, 0 = unmuted)
MUTED=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -q MUTED && echo 1 || echo 0)
# If muted, unmute first
if [ "$MUTED" = "1" ]; then
wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
fi
# Raise volume
~/.local/bin/swayosd-client --output-volume raiseIn my hyprland config i add:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Sometimes I won't realize my output sink is muted and go to raise the volume. I think this is a fairly strong signal that I'd also like to unmute things. Is it possible to simultaneously unmute? I can't chain together two swayosd-client commands since the exposed action is "toggle mute" instead of "unmute".
All reactions