X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/1390d0285583db13842b2fc8d96c3b8b4af02dfd..4974d6710103d2c5c0b61817b29739b5f8fbc4be:/bin/tint2-i3status?ds=sidebyside diff --git a/bin/tint2-i3status b/bin/tint2-i3status index 3d53d4d..f655e6c 100755 --- a/bin/tint2-i3status +++ b/bin/tint2-i3status @@ -1,2 +1,6 @@ #!/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' +. ~/bin/.check-busybox +u=-u +check-busybox sed && u='' +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' +unset check-busybox