From 9e3cbee8e30704e85ec283d437f1ccc5f6906b67 Mon Sep 17 00:00:00 2001 From: AngeD Date: Fri, 31 Mar 2023 14:21:22 +0200 Subject: [PATCH] fix: no vol indicator at boot --- bin/sbar | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/sbar b/bin/sbar index 8aab519..9b06676 100755 --- a/bin/sbar +++ b/bin/sbar @@ -53,6 +53,9 @@ update_time() { #} # modules that don't update on their own need to be run at the start for getting their initial value +while [ -z "$(wpctl get-volume '@DEFAULT_AUDIO_SINK@')" ]; do + sleep 1 +done update_vol update_backlight