-# powerline tmux
-set-option -g status on
-set-option -g status-bg colour12
-set-option -g status-fg colour7
-set-window-option -g window-status-current-bg colour9
-set-option -g status-interval 2
-set-option -g status-utf8 on
-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 "#(~/.dotfiles/tmux-powerline/status-left.sh)"
-set-option -g status-right "#(~/.dotfiles/tmux-powerline/status-right.sh)"
+# Powerline
+run-shell "powerline-daemon -q"
+source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf
+
+# Better powerline highlighting.
+set-window-option -g window-status-activity-attr bold,blink,underscore