i3status-wrapper: Poner Zeit en rojo

This commit is contained in:
Cat /dev/Nulo 2022-03-31 15:50:35 -03:00
parent 3d5e56178e
commit 1dffa2cf47

View file

@ -8,7 +8,7 @@ i3status | while true; do
if test -z "$json_array"; then if test -z "$json_array"; then
echo "$line" echo "$line"
else else
zeit_obj='{"name":"zeit","instance":"zeit","markup":"none","full_text":"'$(zeit tracking --no-colors)'"}' zeit_obj='{"name":"zeit","instance":"zeit","color":"#FF0000","markup":"none","full_text":"'$(zeit tracking --no-colors)'"}'
json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")" json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")"
echo "$json_array," echo "$json_array,"
fi fi