fix: no vol indicator at boot
This commit is contained in:
parent
888f787c3b
commit
9e3cbee8e3
1 changed files with 3 additions and 0 deletions
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
|
||||
while [ -z "$(wpctl get-volume '@DEFAULT_AUDIO_SINK@')" ]; do
|
||||
sleep 1
|
||||
done
|
||||
update_vol
|
||||
update_backlight
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue