Avoid unnecessary if block in pulse_daemon.sh
This commit is contained in:
parent
d4cceab950
commit
5ea7cd7059
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
pactl subscribe |
|
pactl subscribe |
|
||||||
while read -r output ; do
|
while read -r output ; do
|
||||||
if [ -z "${output##*sink *}" ] ; then
|
[ -z "${output##*sink *}" ] && sigdsblocks 1
|
||||||
sigdwmblocks 1
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue