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