From ea5446105dd6d0640a4d348a1fb8d36134cf01a9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 31 Oct 2016 15:31:39 +0100 Subject: [PATCH] panel: refresh volume every 3s --- os/arch/.config/panel/lemons/volume.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/os/arch/.config/panel/lemons/volume.sh b/os/arch/.config/panel/lemons/volume.sh index f0781ad1..1fa29726 100755 --- a/os/arch/.config/panel/lemons/volume.sh +++ b/os/arch/.config/panel/lemons/volume.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash -# initialize volume display (once) -echo "V$(volume.sh)" > "$PANEL_FIFO" & +while : +do + echo "V$(volume.sh)" > "$PANEL_FIFO" & + sleep 3 +done > "$PANEL_FIFO" &