From 125fe45c85089689ce4a9a83e6866e1d60dc1ce3 Mon Sep 17 00:00:00 2001 From: xero Date: Mon, 30 Mar 2015 00:20:05 -0400 Subject: update tmux colors to match vim --- tmux/code/sys/status | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tmux/code/sys/status') diff --git a/tmux/code/sys/status b/tmux/code/sys/status index ba00749..2aa0b4f 100755 --- a/tmux/code/sys/status +++ b/tmux/code/sys/status @@ -34,6 +34,7 @@ C3="#B3291C" C4="#3A3A3A" C5="#efefef" C6="#878787" +C7="#8787af" draw() { @@ -83,7 +84,7 @@ bat() st="+" ;; esac - echo "#[fg=$C0]"$st$(( 100 * $bn / $bf ))"%" + echo $st$(( 100 * $bn / $bf ))"%" } cpu() { @@ -101,7 +102,10 @@ clock() mday=$(date +'%d') echo "#[fg=$C5]#[bg=$C4] $mtime #[fg=$C6]$myear#[fg=$C5]$mday #[fg=$C6]$EOL" } - +front() +{ + echo "#[bg=$C7]#[fg=$C0]▓░" +} CPU_INFO=`cpu` RAM_INFO=`ram` -echo -e `bat` `draw $RAM_INFO 4` `temp` `draw $CPU_INFO 7``clock` +echo -e `front` `bat` `draw $RAM_INFO 4` `temp` `draw $CPU_INFO 7``clock` -- cgit v1.2.1