aboutsummaryrefslogtreecommitdiff
path: root/tmux/code/sys/status
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-03-30 00:20:05 -0400
committerxero <x@xero.nu>2015-03-30 00:20:05 -0400
commit125fe45c85089689ce4a9a83e6866e1d60dc1ce3 (patch)
treebb8dea238cde38ccaf74043980cedfaf126a7495 /tmux/code/sys/status
parent349ae53b8717dadf9d858c2b72e5bf399d3becf0 (diff)
downloaddotfiles_ascii-125fe45c85089689ce4a9a83e6866e1d60dc1ce3.tar.xz
dotfiles_ascii-125fe45c85089689ce4a9a83e6866e1d60dc1ce3.zip
update tmux colors to match vim
Diffstat (limited to '')
-rwxr-xr-xtmux/code/sys/status10
1 files changed, 7 insertions, 3 deletions
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`