]> git.sev.monster Git - dotfiles.git/blobdiff - bin/tint2-i3status
firefox/user.js, new fonts, fontconfig, modeliner
[dotfiles.git] / bin / tint2-i3status
index 3d53d4d7c0fbff6216b7111332db3da733045e8a..1132d1a50093e00277f8e4945dc48a27fa0eca3d 100755 (executable)
@@ -1,2 +1,4 @@
 #!/bin/sh
 #!/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'
This page took 0.037149 seconds and 4 git commands to generate.