commit 209c2e2207257594f91bcedf6b1087721954ce08 parent 2487bd7c905231a3e93c2002f1c00c5e991be37f Author: Xiaodong Xu <[email protected]> Date: Mon May 11 08:51:28 +0800 Update for 2.0 Diffstat:
_tmux.conf | | | 43 | ++++++++----------------------------------- |
tmuxen | | | 12 | ++++++------ |
diff --git a/_tmux.conf b/_tmux.conf @@ -1,6 +1,6 @@ # # author : Xu Xiaodong <[email protected]> -# modified : 2013 Jul 06 +# modified : 2015 May 10 # #-- base settings --# @@ -71,42 +71,15 @@ setw -g mode-keys vi setw -g automatic-rename off #-- colorscheme --# -# see also: https://github.com/daethorian/conf-tmux/blob/master/colors/zenburn.conf - -# modes -setw -g clock-mode-colour colour223 -setw -g mode-attr bold -setw -g mode-fg colour223 -setw -g mode-bg colour235 - -# panes -set -g pane-border-bg colour234 -set -g pane-border-fg colour234 -set -g pane-active-border-bg colour232 -set -g pane-active-border-fg colour232 - # statusbar -set -g status-justify centre -set -g status-bg colour235 -set -g status-fg colour248 -set -g status-attr dim -set -g status-left "#[default]» #[fg=colour187]#S #[default]• #[fg=colour187]w#I.p#P#[default]" -set -g status-left-attr bright +set -g status-justify left +set -g status-style "fg=#eeeeee,bg=#222222,dim" +set -g status-left "#[default]»" set -g status-left-length 20 -set -g status-right "#[fg=colour174]#(/home/xiaodong/bin/uptime) #[default]• #[fg=colour174]#(cut -d ' ' -f 1-3 /proc/loadavg)" -set -g status-right-attr bright +set -g status-right "#[fg=#7fb8d8]#(/home/xiaodong/bin/uptime) #[default]• #[fg=#7fb8d8]#(cut -d ' ' -f 1-3 /proc/loadavg)" set -g status-right-length 80 -setw -g window-status-current-fg colour223 -setw -g window-status-current-bg colour237 -setw -g window-status-current-attr bold +# window +setw -g window-status-format "#I:#W#F" setw -g window-status-current-format "#I:#W#F" - -#setw -g window-status-alert-attr bold -#setw -g window-status-alert-fg colour255 -#setw -g window-status-alert-bg colour160 - -# messages -set -g message-attr bold -set -g message-fg colour223 -set -g message-bg colour235 +setw -g window-status-current-style "fg=#6c7e55,bg=#222222,bold" diff --git a/tmuxen b/tmuxen @@ -4,7 +4,7 @@ # author : Xu Xiaodong <[email protected]> # license : GPL # created : 2012 Jul 01 -# modified : 2013 Jul 06 +# modified : 2015 May 09 # cmd=$(which tmux) # tmux path @@ -19,12 +19,12 @@ $cmd has -t $session 2> /dev/null if [ $? != 0 ]; then $cmd new -d -n vim -s $session "vim" - #$cmd neww -n mutt -t $session "mutt" - $cmd neww -n irssi -t $session "irssi" - $cmd neww -n cmus -t $session "cmus" + $cmd neww -n ipy -t $session "ipython" + $cmd neww -n irc -t $session "irssi" + $cmd neww -n top -t $session "htop" + #$cmd splitw -v -p 98 -t $session "zsh" $cmd neww -n zsh -t $session "zsh" - #$cmd splitw -h -p 50 -t $session "zsh" - $cmd selectw -t $session:4 + $cmd selectw -t $session:5 fi $cmd att -t $session