1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Let the windows start with 0; added nicer right status area with load

indicator
This commit is contained in:
Michiel Scholten
2014-07-13 21:34:53 +02:00
parent ae7063c53f
commit 6b063a9555

View File

@@ -33,8 +33,8 @@ bind e setw synchronize-panes on
bind E setw synchronize-panes off bind E setw synchronize-panes off
# set first window to index 1 (not 0) to map more to the keyboard layout... # set first window to index 1 (not 0) to map more to the keyboard layout...
set-option -g base-index 1 #set-option -g base-index 1
set-window-option -g pane-base-index 1 #set-window-option -g pane-base-index 1
# color scheme (styled as vim-powerline) # color scheme (styled as vim-powerline)
set -g status-left-length 52 set -g status-left-length 52
@@ -51,6 +51,7 @@ set -g status-left '#[fg=colour235,bg=colour252,bold] ❐ #S #[fg=colour252,bg=c
set -g window-status-format "#[fg=colour235,bg=colour252,bold] #I #W " set -g window-status-format "#[fg=colour235,bg=colour252,bold] #I #W "
#set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=black,bg=colour39,noreverse,bold] #I: #W #[fg=colour39,bg=colour234,nobold]⮀" #set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=black,bg=colour39,noreverse,bold] #I: #W #[fg=colour39,bg=colour234,nobold]⮀"
set -g window-status-current-format "#[fg=colour234,bg=colour39]#[fg=black,bg=colour39,noreverse,bold] #I: #W #[fg=colour39,bg=colour234,nobold]" set -g window-status-current-format "#[fg=colour234,bg=colour39]#[fg=black,bg=colour39,noreverse,bold] #I: #W #[fg=colour39,bg=colour234,nobold]"
set -g status-right '#(hostname) #[bg=#bbbbbb]#[fg=#000000] #(cut -d " " -f -3 /proc/loadavg) #[bg=#4e4e4e]#[fg=#ffffff]#(date +" %H:%M ")'
# Patch for OS X pbpaste and pbcopy under tmux. # Patch for OS X pbpaste and pbcopy under tmux.
#set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL" #set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"