panel: refresh volume every 3s

This commit is contained in:
Henrik Lissner 2016-10-31 15:31:39 +01:00
parent 88ae5064f0
commit ea5446105d

View file

@ -1,4 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# initialize volume display (once) while :
echo "V$(volume.sh)" > "$PANEL_FIFO" & do
echo "V$(volume.sh)" > "$PANEL_FIFO" &
sleep 3
done > "$PANEL_FIFO" &