dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ea6eb6a1e49885d6d447cb85d32c3fe54c71eae2
parent 82d9f469d33c7a9ba4b2a97ec86bf3f2b4689583
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Mon, 28 Sep 2015 14:17:17 +0200

use uptime instead of reading /proc/loadavg

Diffstat:
M.tmux.conf | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -94,7 +94,8 @@ set -g status-fg cyan set -g status-left-length 40 set -g status-left "#[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P" #set -g status-right "#[fg=cyan]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R" -set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R" +#set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R" +set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(uptime|awk '{print $12;}') #[fg=green]%d %b %R" set -g status-justify centre #set -g status-bg default #set -g status-fg cyan