You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a command that given one input parameter ($THRESHOLD) would compare it with the current volume ($CURRENT_VOLUME), and then set the volume to the smallest value of the two ($THRESHOLD or $CURRENT_VOLUME).
Currently, I use a shell script that does this:
if [[ $CURRENT_VOLUME -gt $THRESHOLD ]]; then
pamixer --set-volume $THRESHOLD
fi
I'm coming from pulseaudio-ctl which had it implemented as
pulseaudio-ctl almost $THRESHOLD
I believe it could be a nice convenient addition to what pamixer can do.
Thank you very much for pamixer, it helped a lot to transition from pulseaudio to pipewire!
The text was updated successfully, but these errors were encountered:
I would like to have a command that given one input parameter ($THRESHOLD) would compare it with the current volume ($CURRENT_VOLUME), and then set the volume to the smallest value of the two ($THRESHOLD or $CURRENT_VOLUME).
Currently, I use a shell script that does this:
I'm coming from
pulseaudio-ctl
which had it implemented asI believe it could be a nice convenient addition to what
pamixer
can do.Thank you very much for pamixer, it helped a lot to transition from pulseaudio to pipewire!
The text was updated successfully, but these errors were encountered: