scripts/volinfo

10 lines
200 B
Bash
Executable File

#!/bin/sh
muted="$(pactl list sinks | grep "Mute" | awk '{print $2}')"
if [ "$muted" = 'no' ]; then
echo "$(/home/vtimofei/scripts/getvol)"
else
echo "$(/home/vtimofei/scripts/getvol)"
fi