diff --git a/os/arch/.config/panel/lemons/volume.sh b/os/arch/.config/panel/lemons/volume.sh index 6f4f4be4..f0781ad1 100755 --- a/os/arch/.config/panel/lemons/volume.sh +++ b/os/arch/.config/panel/lemons/volume.sh @@ -1,10 +1,4 @@ #!/usr/bin/env bash -# volume messages will be sent when volume is changed -echo "V$(amixer get Master | sed -n 's/^.*\[\([0-9]\+\)%.*$/\1/p' | uniq)" > "$PANEL_FIFO" & - -# while : -# do -# echo "V$(amixer get Master | sed -n 's/^.*\[\([0-9]\+\)%.*$/\1/p' | uniq)" -# sleep 1 -# done > "$PANEL_FIFO" & +# initialize volume display (once) +echo "V$(volume.sh)" > "$PANEL_FIFO" &