mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-19 19:34:24 +02:00
docs(custom): fix potential error in progress example
This commit is contained in:
parent
7355db74ec
commit
138b5b3903
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ $progress = {
|
|||
bar = [
|
||||
{
|
||||
type = "progress"
|
||||
value = "500:mpc | sed -n 2p | awk '{ print $4 }' | grep -Eo '[0-9]+'"
|
||||
value = "500:mpc | sed -n 2p | awk '{ print $4 }' | grep -Eo '[0-9]+' || echo 0"
|
||||
label = "{{500:mpc | sed -n 2p | awk '{ print $3 }'}} elapsed"
|
||||
length = 200
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue