feat(*): initial commit
This commit is contained in:
21
tmux/dot-tmux.powerline.conf
Normal file
21
tmux/dot-tmux.powerline.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
# vim: ft=tmux
|
||||
|
||||
if-shell 'test -z "$POWERLINE_CONFIG_COMMAND"' 'set-environment -g POWERLINE_CONFIG_COMMAND powerline-config'
|
||||
|
||||
# Don't version-check for this core functionality -- anything too old to
|
||||
# support these options likely won't work well with powerline
|
||||
set -g status on
|
||||
set -g status-interval 2
|
||||
set -g status-left-length 60
|
||||
set -g status-left '#[fg=colour235,bg=colour252,bold] #S #[fg=colour252,bg=colour238,nobold]#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]'
|
||||
|
||||
set -g status-right-length 150
|
||||
set -g status-right '#[fg=colour59]#[fg=colour255,bg=colour59] #[fg=colour254,bold]#[fg=colour16,bg=colour254,bold] #h '
|
||||
|
||||
set -g window-status-separator '#[fg=colour244,bg=colour234] '
|
||||
set -g window-status-format "#[fg=colour244,bg=colour234] #I #[fg=colour240] #[default,bg=colour234]#W "
|
||||
set -g window-status-current-format "#[fg=colour234,bg=colour31]#[fg=colour117,bg=colour31] #I #[fg=colour231,bold]#W #[fg=colour31,bg=colour234,nobold]"
|
||||
|
||||
|
||||
# load powerline
|
||||
if-shell 'env "$POWERLINE_CONFIG_COMMAND" tmux setup' '' 'run-shell "powerline-config tmux setup"'
|
||||
Reference in New Issue
Block a user