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 5790df2fc2210d1cc094f4a07aa09d776879ddd3
parent 9bea737d8b7220567c1ef46667c788b3275cb0ce
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Sat, 19 Mar 2016 09:59:57 -0700

show hostname in status bar

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

diff --git a/.tmux.conf b/.tmux.conf @@ -105,7 +105,7 @@ set -g status-bg default set -g status-fg cyan #set -g status-right "#[fg=green]#H" 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-left "#[fg=red]#(hostname) #[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" #