X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/f29cd56086ae36e7abad561ae32f0f063a1eac31..f993e922ddfbd072cf4cd7300d74e98a6977d3f6:/bin/tint2-i3status?ds=sidebyside diff --git a/bin/tint2-i3status b/bin/tint2-i3status index 3d53d4d..1132d1a 100755 --- a/bin/tint2-i3status +++ b/bin/tint2-i3status @@ -1,2 +1,4 @@ #!/bin/sh -i3status -c ${XDG_CONFIG_HOME:-~/.config}/i3status/tint2-$1 | sed -ue 's/fc=\(#[a-f0-9]\{3,6\}\)/span color="\1"/gi;s_/fc_/span_g' +u=-u +if readlink -f $(which sed) | grep -q /busybox; then u=''; fi +i3status -c ${XDG_CONFIG_HOME:-~/.config}/i3status/tint2-$1 | sed $u -e 's/fc=\(#[a-f0-9]\{3,6\}\)/span color="\1"/gi;s_/fc_/span_g'