feat: limit set-vol logs to tty
This commit is contained in:
parent
49d8e8c652
commit
7b713d8de9
@ -40,4 +40,7 @@ for dev in /sys/class/backlight/*; do
|
||||
done
|
||||
|
||||
echo "$NEW" > "$CUR_FILE"
|
||||
echo "$NEW"
|
||||
|
||||
if [ -t 1 ]; then
|
||||
echo "$NEW"
|
||||
fi
|
||||
|
@ -44,4 +44,6 @@ esac
|
||||
$CMD "$SINK" "$VOL%" > /dev/null
|
||||
pactl set-sink-mute "$PACTL_SINK" 0
|
||||
|
||||
echo "$VOL"
|
||||
if [ -t 1 ]; then
|
||||
echo "$VOL"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user