Compare commits
3 commits
17c0d1691b
...
1d85769bc7
Author | SHA1 | Date | |
---|---|---|---|
1d85769bc7 | |||
ff84cb7bec | |||
72104199e2 |
2 changed files with 9 additions and 3 deletions
|
@ -12,7 +12,7 @@ set $term footclient
|
|||
# on the original workspace that the command was run on.
|
||||
set $menu fuzzel-run
|
||||
|
||||
font Inter Medium 10
|
||||
font Inter SemiBold 10
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
|
@ -228,7 +228,7 @@ bindsym --locked XF86AudioNext exec 'playerctl next'
|
|||
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
||||
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
||||
|
||||
default_border normal 4
|
||||
default_border pixel 8
|
||||
smart_borders on
|
||||
hide_edge_borders both
|
||||
|
||||
|
|
|
@ -8,7 +8,13 @@ i3status | while true; do
|
|||
if test -z "$json_array"; then
|
||||
echo "$line"
|
||||
else
|
||||
zeit_obj='{"name":"zeit","instance":"zeit","color":"#FF0000","markup":"none","full_text":"'$(zeit tracking --no-colors)'"}'
|
||||
zeit="$(zeit tracking --no-colors)"
|
||||
if echo "$zeit" | grep -F tracking >/dev/null; then
|
||||
color="#FF0000"
|
||||
else
|
||||
color="#000000"
|
||||
fi
|
||||
zeit_obj='{"name":"zeit","instance":"zeit","color":"'$color'","markup":"none","full_text":"'$zeit'"}'
|
||||
json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")"
|
||||
echo "$json_array,"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue