Avoid unnecessary if block in pulse_daemon.sh

This commit is contained in:
Ashish Kumar Yadav 2020-08-10 03:05:01 +05:30
parent d4cceab950
commit 5ea7cd7059

View file

@ -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