panel > volume lemon: only initialize once (leave the rest to volume.sh)
This commit is contained in:
parent
fdd36d3a2e
commit
e2fa956571
|
@ -1,10 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# volume messages will be sent when volume is changed
|
# initialize volume display (once)
|
||||||
echo "V$(amixer get Master | sed -n 's/^.*\[\([0-9]\+\)%.*$/\1/p' | uniq)" > "$PANEL_FIFO" &
|
echo "V$(volume.sh)" > "$PANEL_FIFO" &
|
||||||
|
|
||||||
# while :
|
|
||||||
# do
|
|
||||||
# echo "V$(amixer get Master | sed -n 's/^.*\[\([0-9]\+\)%.*$/\1/p' | uniq)"
|
|
||||||
# sleep 1
|
|
||||||
# done > "$PANEL_FIFO" &
|
|
||||||
|
|
Loading…
Reference in a new issue