]> git.sev.monster Git - dotfiles.git/blobdiff - bin/tint2-i3status
apkv: sort apk info
[dotfiles.git] / bin / tint2-i3status
index 1132d1a50093e00277f8e4945dc48a27fa0eca3d..f655e6c408fe00a75a3d19280b541139a9e57fe9 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+. ~/bin/.check-busybox
 u=-u
-if readlink -f $(which sed) | grep -q /busybox; then u=''; fi
+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
This page took 0.029037 seconds and 4 git commands to generate.