Compare commits
No commits in common. "1d85769bc7fab79f2603ca93ed2673bd49d72132" and "17c0d1691b625211a9acc58c9d545f3bb13ab2ce" have entirely different histories.
1d85769bc7
...
17c0d1691b
2 changed files with 3 additions and 9 deletions
|
@ -12,7 +12,7 @@ set $term footclient
|
||||||
# on the original workspace that the command was run on.
|
# on the original workspace that the command was run on.
|
||||||
set $menu fuzzel-run
|
set $menu fuzzel-run
|
||||||
|
|
||||||
font Inter SemiBold 10
|
font Inter Medium 10
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
|
@ -228,7 +228,7 @@ bindsym --locked XF86AudioNext exec 'playerctl next'
|
||||||
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
||||||
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
||||||
|
|
||||||
default_border pixel 8
|
default_border normal 4
|
||||||
smart_borders on
|
smart_borders on
|
||||||
hide_edge_borders both
|
hide_edge_borders both
|
||||||
|
|
||||||
|
|
|
@ -8,13 +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="$(zeit tracking --no-colors)"
|
zeit_obj='{"name":"zeit","instance":"zeit","color":"#FF0000","markup":"none","full_text":"'$(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] + .")"
|
json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")"
|
||||||
echo "$json_array,"
|
echo "$json_array,"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue