diff --git a/.config/sway/i3status-wrapper b/.config/sway/i3status-wrapper index 1f2de5c..959b7e7 100755 --- a/.config/sway/i3status-wrapper +++ b/.config/sway/i3status-wrapper @@ -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] + .")" diff --git a/.config/themer.lua b/.config/themer.lua index 53b2f5c..08f3514 160000 --- a/.config/themer.lua +++ b/.config/themer.lua @@ -1 +1 @@ -Subproject commit 53b2f5caad07178e75a85464f4e6e059685bced7 +Subproject commit 08f35148f1ef99c6cb0aa1feb69681e0a592b895