i3status-wrapper: Usar colores de themer.lua
This commit is contained in:
parent
ecabff30f5
commit
a27f567650
2 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ~/.profile
|
||||
. ~/.cache/themer.lua/shell
|
||||
|
||||
i3status | while true; do
|
||||
read line
|
||||
|
@ -10,9 +11,9 @@ i3status | while true; do
|
|||
else
|
||||
zeit="$(zeit tracking --no-colors)"
|
||||
if echo "$zeit" | grep -F tracking >/dev/null; then
|
||||
color="#FF0000"
|
||||
color="$accent"
|
||||
else
|
||||
color="#000000"
|
||||
color="$foreground"
|
||||
fi
|
||||
zeit_obj='{"name":"zeit","instance":"zeit","color":"'$color'","markup":"none","full_text":"'$zeit'"}'
|
||||
json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 53b2f5caad07178e75a85464f4e6e059685bced7
|
||||
Subproject commit 08f35148f1ef99c6cb0aa1feb69681e0a592b895
|
Loading…
Reference in a new issue