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 f7d02fdc1fa22041d1871b571bd01725307205d2
parent 3172c4eacee399ddcc50dcd37cfd65d3efc99e0d
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Sat, 21 Oct 2017 14:49:51 -0400

reduce info in status bar, align status to the left

Diffstat:
Mlinks/.tmux.conf | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/links/.tmux.conf b/links/.tmux.conf @@ -83,14 +83,14 @@ set -g status-position top set -g status-interval 5 set -g status-bg default set -g status-fg cyan -set -g status-left-length 20 +#set -g status-left-length 20 #set -g status-left "#[fg=red]#(hostname|sed \"s/\\\\..*$//\") #[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P" -set -g status-left "#[fg=cyan]#(hostname|sed \"s/\\\\..*$//\") #[fg=#333333]s:#S" +set -g status-left "#[fg=#333333]s:#S #[fg=#999999]| " set -g status-right-length 40 if-shell 'uname | grep -qi Darwin' "set -g status-right \"#[fg=#81a2be]#(/usr/local/bin/mpc | head -n 1 | sed 's/volume.*$//' | cut -c 1-22) #[fg=cyan]#(~/bin/battery-osx) #(~/bin/mailstatus.sh) #[fg=yellow]#(uptime|sed 's/.* //') #[fg=#333333]%Y-%m-%d #[fg=#666666]%R\"" if-shell 'uname | grep -qi Linux' "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/ $//;') #(~/bin/mailstatus.sh) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%Y-%m-%d %R\"" -set -g status-justify centre +set -g status-justify left # Timeout for pane-numbering in milliseconds set-option -g display-panes-time 3000 @@ -109,8 +109,8 @@ setw -g window-status-activity-fg default setw -g window-status-bell-attr blink setw -g window-status-bell-bg default setw -g window-status-bell-fg default -setw -g window-status-format '#[fg=#666666]#[bg=default] #I #[bg=default]#[fg=$666666]#W ' -setw -g window-status-current-format '#[fg=#999999]#[bg=default] #I #[fg=#999999,bg=default]#W ' +setw -g window-status-format '#[fg=#999999]#I #[bg=default]#[fg=$666666]#W |' +setw -g window-status-current-format '(#[fg=white]#[bg=default]#I #W#[fg=white]) #[fg=#999999]|' # Inactive panes set -g pane-border-fg colour238