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 79a7f44e2bd6c432013563a0594cf698c672a0a7
parent ea6eb6a1e49885d6d447cb85d32c3fe54c71eae2
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Tue, 29 Sep 2015 18:20:13 +0200

always print last field for uptime

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

diff --git a/.tmux.conf b/.tmux.conf @@ -95,7 +95,7 @@ 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]#(uptime|awk '{print $12;}') #[fg=green]%d %b %R" +set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(uptime|awk '{print $NF;}') #[fg=green]%d %b %R" set -g status-justify centre #set -g status-bg default #set -g status-fg cyan