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
PA_CURRENT_MUTE=$(pacmd list-sinks | grep -A20 "<$PA_CURRENT_SINK>"| grep -m1 'muted: '| sed 's/[\t]muted: no/0/g'| sed 's/[\t]muted: yes/1/g')
116
+
PA_CURRENT_MUTE=$(pacmd list-sinks | grep --color=never -A20 "<$PA_CURRENT_SINK>"| grep -m1 'muted: '| sed 's/[\t]muted: no/0/g'| sed 's/[\t]muted: yes/1/g')
117
117
118
118
# Check if equalizer is running and get accurate master sink name
119
119
if [ "$PA_CURRENT_SINK"="$PA_LADSPA_SINK" ];then
120
120
PA_EQUALIZER_STATUS=1
121
-
PA_MASTER_SINK=$(pacmd info | grep -A30 "<$PA_CURRENT_SINK>"| grep -m1 'device.master_device = '| sed 's/device.master_device = //g'| sed 's/"//g'| sed 's/^[ \t]*//')
121
+
PA_MASTER_SINK=$(pacmd info | grep --color=never -A30 "<$PA_CURRENT_SINK>"| grep --color=never -m1 'device.master_device = '| sed 's/device.master_device = //g'| sed 's/"//g'| sed 's/^[ \t]*//')
122
122
else
123
123
PA_EQUALIZER_STATUS=0
124
-
PA_MASTER_SINK=$(pacmd stat | grep 'Default sink name'| sed 's/Default sink name: //g')
124
+
PA_MASTER_SINK=$(pacmd stat | grep --color=never 'Default sink name'| sed 's/Default sink name: //g')
0 commit comments