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
pactl subscribe |
while read -r output ; do
if [ -z "${output##*sink *}" ] ; then
sigdwmblocks 1
fi
[ -z "${output##*sink *}" ] && sigdsblocks 1
done