fix: no vol indicator at boot
This commit is contained in:
parent
888f787c3b
commit
9e3cbee8e3
3
bin/sbar
3
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
|
# 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_vol
|
||||||
update_backlight
|
update_backlight
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user