tchanged colors - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 423b3b8a221d3b7e2dcc0c23d68dd4610436ecf2
(DIR) parent 22d96d4db3e5bdb2630ab011a213f16e9c256873
(HTM) Author: Willy Goiffon <w.goiffon@gmail.com>
Date: Tue, 11 Jun 2013 17:25:41 +0200
changed colors
Diffstat:
M statusline.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/statusline.sh b/statusline.sh
t@@ -4,7 +4,7 @@
# prints out a line formatted for tmux status.
-w='#[fg=white,nobold]'
+w='#[fg=yellow,bold]'
B='#[fg=black,bold]'
SEP="$w»$B"
t@@ -20,7 +20,7 @@ ramused() {
ramtotal=$(free -m| sed -n '2p'| awk '{print $2}')
ramused=$(free -m| sed -n '3p'| awk '{print $3}')
- ram_perc=$(((100*$ramused)/$ramtotal))
+ ram_perc=$(( 100*$ramused/$ramtotal ))
echo $ram_perc
}