]> git.sev.monster Git - dotfiles.git/blobdiff - bin/tint2-i3status
add apkv, explicitly source XDG dirs in zshenv
[dotfiles.git] / bin / tint2-i3status
index 3d53d4d7c0fbff6216b7111332db3da733045e8a..f655e6c408fe00a75a3d19280b541139a9e57fe9 100755 (executable)
@@ -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
This page took 0.029489 seconds and 4 git commands to generate.