commit 897f2b71a2207e8585299c50ddcc540ac8575ae0
parent e63c93c3e050337eab6e7365ae60fb8a5858ed73
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Sat, 28 Jun 2014 13:29:27 +0200
informative status bar instead of minimalistic format
Diffstat:
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -31,7 +31,7 @@ bind -r L resize-pane -R 5
bind r source-file ~/.tmux.conf \; display "Source file reloaded"
-set -g base-index 1 # start window numbering at 1
+set -g base-index 1 # start window numbering at 1
set -g pane-base-index 1 # start pane numbering at 1
# mouse behavior
@@ -43,7 +43,7 @@ set -g mouse-select-window on
setw -g utf8 on
setw -g status-utf8 on
-setw -g automatic-rename off
+setw -g automatic-rename on
# Allows us to use C-a a <command> to send commands to a TMUX session inside
# another TMUX session
@@ -61,14 +61,14 @@ 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-right "#[fg=blue]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #[fg=white]#(cat /proc/loadavg|awk '{print $1;}') #[fg=cyan]%d %b %R"
+set -g status-left "#[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P"
+set -g status-right "#[fg=blue]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #[fg=white]#(cat /proc/loadavg|awk '{print $1;}') #[fg=cyan]%d %b %R"
set -g status-justify centre
#set -g status-bg default
#set -g status-fg cyan
#set -g status-interval 4
-set -g status-left ''
-set -g status-right ''
+#set -g status-left ''
+#set -g status-right ''
#set -g status-left '#[fg=white,bold]#S#[fg=cyan] | #[fg=white,bold]#(echo $USER) '
#set -g status-right '#[fg=white]#H#[fg=cyan] | #[fg=white]#(uname -r)#[default]'
@@ -97,11 +97,8 @@ 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=default]#[bg=default] #I #[bg=default]#[fg=black,bold] #W '
-#setw -g window-status-current-format '#[fg=default]#[bg=black,bold] #I #[fg=black,bold]#[bg=default] #W '
-setw -g window-status-format '#[fg=black] ● '
-setw -g window-status-current-format '#[fg=white,bold] ● '
-setw -g window-status-format '#[fg=black] • '
-setw -g window-status-current-format '#[fg=white,bold] • '
+setw -g window-status-format '#[fg=default]#[bg=default] #I #[bg=default]#[fg=white,bold] #W '
+setw -g window-status-current-format '#[fg=default]#[bg=black,bold] #I #[fg=white,bold]#[bg=default] #W '
#
# Inactive panes