aboutsummaryrefslogtreecommitdiff
path: root/tmux/code
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/code')
-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`