效果

tmux

1
sudo apt-get install tmux

YADR

1
2
3
4
5
6
7
sudo apt-get install rake

# install YADR
# http://www.agileventures.org/articles/setting-up-yadr-on-ubuntu
sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`"

nautilus ~/.yadr/fonts/

终端配色方案修改为solarized

编辑 > 编辑配置文件 > 颜色

终端配置

tmux-powerline

tmux-powerline

1
2
TMUX_POWERLINE_PATH=~/.tmux-powerline
git clone https://github.com/erikw/tmux-powerline.git $TMUX_POWERLINE_PATH

编辑.tmux.conf

1
2
3
4
5
6
7
8
9
10
11
12
13
set-option -g status on
set-option -g status-interval 2
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-left "#(~/path/to/tmux-powerline/powerline.sh left)"
set-option -g status-right "#(~/path/to/tmux-powerline/powerline.sh right)"

set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]⮀#[fg=colour255, bg=colour27] #I ⮁ #W #[fg=colour27, bg=colour235]⮀"

# You can toggle the visibility of the statusbars
bind C-[ run '~/path/to/tmux-powerline/mute_powerline.sh left' # Mute left statusbar.
bind C-] run '~/path/to/tmux-powerline/mute_powerline.sh right' # Mute right statusbar.

配置城市

参考

The Text Triumvirate

YADR