feat(i3status): if no headphones, write 'No headphones'
This commit is contained in:
parent
d3c842947f
commit
1726434b53
@ -49,6 +49,8 @@ function headphones {
|
||||
break
|
||||
fi
|
||||
done
|
||||
local json="{ \"full_text\": \"No headphones\", \"color\": \"#FFFFFF\"}"
|
||||
json_array=$(update_holder holder__headphones "$json")
|
||||
}
|
||||
|
||||
i3status | (read line; echo "$line"; read line ; echo "$line" ; read line ; echo "$line" ; while true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user