tmuxen

tmux environment made easy
git clone git://git.unixkoans.com/tmuxen.git
Log | Files | Refs

commit cf837940a55bb0a3143e630eb8913b5928e8a151
parent 6eef79963b9ae23ad1c16706e5005a947f14c129
Author: Xiaodong Xu <xxdlhy@gmail.com>
Date:   Tue May 31 21:18:12 +0800

Update config

Diffstat:
README.md | 14+++++++++-----
_tmux.conf | 11+++++------
screenshot.png | 0
tmuxen | 5++---
4 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md @@ -1,11 +1,15 @@ -About ------ +tmuxen +------ -tmux environment made easy. +轻易创建 tmux 使用环境。 ![tmux](https://github.com/xuxiaodong/tmuxen/raw/master/screenshot.png) -Installation ------------- +## 安装 git clone git://github.com/xuxiaodong/tmuxen.git + ./install-tmuxen + +## 使用 + + tmuxen diff --git a/_tmux.conf b/_tmux.conf @@ -1,12 +1,11 @@ # # author : Xu Xiaodong <xxdlhy@gmail.com> -# modified : 2016 May 07 +# modified : 2016 May 17 # #-- base settings --# set -g default-terminal "screen-256color" set -g display-time 3000 -set -g escape-time 0 set -g history-limit 65535 set -g base-index 1 set -g pane-base-index 1 @@ -73,13 +72,13 @@ setw -g automatic-rename off #-- colorscheme --# # statusbar set -g status-justify left -set -g status-style "fg=#eeeeee,bg=#222222,dim" -set -g status-left "#[default]» " +set -g status-style "fg=#b9b9b9,bg=#101010,dim" +set -g status-left "#[default]► " set -g status-left-length 20 -set -g status-right "#[fg=#7fb8d8]#(/home/xiaodong/bin/uptime) #[default]• #[fg=#7fb8d8]#(cut -d ' ' -f 1-3 /proc/loadavg)" +set -g status-right "#[fg=#686868]#(/home/xiaodong/bin/uptime) • #(cut -d ' ' -f 1-3 /proc/loadavg)" set -g status-right-length 80 # window setw -g window-status-format "#I:#W#F" setw -g window-status-current-format "#I:#W#F" -setw -g window-status-current-style "fg=#6c7e55,bg=#222222,bold" +setw -g window-status-current-style "fg=#8e8e8e,bg=#101010,bold" diff --git a/screenshot.png b/screenshot.png Binary files differ. diff --git a/tmuxen b/tmuxen @@ -4,7 +4,7 @@ # author : Xu Xiaodong <xxdlhy@gmail.com> # license : GPL # created : 2012 Jul 01 -# modified : 2015 Dec 05 +# modified : 2016 May 17 # cmd=$(which tmux) # tmux path @@ -17,12 +17,11 @@ fi $cmd has -t $session 2> /dev/null -if [ $? != 0 ]; then +if [ $? -ne 0 ]; then $cmd new -d -n vim -s $session "vim" $cmd neww -n ipy -t $session "ipython --profile toyland" $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 selectw -t $session:5 fi