From 73474ed42c72f0e28961f489c91a699e98f194ba Mon Sep 17 00:00:00 2001 From: xero Date: Fri, 3 Apr 2015 21:47:03 -0400 Subject: fix colors and remove bashism --- tmux/code/sys/status | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tmux') 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` -- cgit v1.2.1