aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-04-03 21:47:03 -0400
committerxero <x@xero.nu>2015-04-03 21:47:03 -0400
commit73474ed42c72f0e28961f489c91a699e98f194ba (patch)
tree978a1333a8f22b39dcc8d0ff8722e170ce921213 /tmux
parentdcc380e388f07d434588a812e02986548b1faf5e (diff)
downloaddotfiles_ascii-73474ed42c72f0e28961f489c91a699e98f194ba.tar.xz
dotfiles_ascii-73474ed42c72f0e28961f489c91a699e98f194ba.zip
fix colors and remove bashism
Diffstat (limited to '')
-rwxr-xr-xtmux/code/sys/status6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux/code/sys/status b/tmux/code/sys/status
index 2aa0b4f..030924d 100755
--- a/tmux/code/sys/status
+++ b/tmux/code/sys/status
@@ -45,7 +45,7 @@ draw()
thiscolor=
for v in `seq 0 $(( SIZE - 1 ))`; do
test "$v" -le "$inc" \
- && out="${out}#[fg=$C0]${FULL}" \
+ && out="${out}#[fg=$C1]${FULL}" \
|| out="${out}#[fg=$C1]${EMPTY}"
done
echo $out
@@ -104,8 +104,8 @@ clock()
}
front()
{
- echo "#[bg=$C7]#[fg=$C0]▓░"
+ echo "#[bg=$C7]#[fg=$C1]▓░"
}
CPU_INFO=`cpu`
RAM_INFO=`ram`
-echo -e `front` `bat` `draw $RAM_INFO 4` `temp` `draw $CPU_INFO 7``clock`
+echo `front` `bat` `draw $RAM_INFO 4` `temp` `draw $CPU_INFO 7` `clock`