Skip to content

Commit

Permalink
OK tmux-powerline, you win, make my screen pretty please
Browse files Browse the repository at this point in the history
  • Loading branch information
romaintb committed Apr 9, 2020
1 parent fbaaacb commit e28047a
Showing 1 changed file with 8 additions and 47 deletions.
55 changes: 8 additions & 47 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,51 +51,12 @@ bind -r L resize-pane -R 5
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded!"

###########################
# Status Bar
###########################
# powerline stuff
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 "#(~/work/tmux-powerline/powerline.sh left)"
set-option -g status-right "#(~/work/tmux-powerline/powerline.sh right)"

# enable UTF-8 support in status bar
#set -g status-utf8 on

# set refresh interval for status bar
set -g status-interval 30

# center the status bar
set -g status-justify centre

# show session, window, pane in left status bar
set -g status-left-length 40
set -g status-left '#[fg=green]#S#[fg=blue] #I:#P#[default]'

# show hostname, date, time, and battery in right status bar
set-option -g status-right '#[fg=green]#H#[default]'

###########################
# Colors
###########################

# color status bar
set -g status-bg colour235
set -g status-fg white

# highlight current window
set-window-option -g window-status-current-fg black
set-window-option -g window-status-current-bg green

# set color of active pane
set -g pane-border-fg colour235
set -g pane-border-bg black
set -g pane-active-border-fg green
set -g pane-active-border-bg black


#set-option -g mouse-resize-pane on
#set-option -g mouse-select-window on
#set-option -g mouse-select-pane on

# Scrolling with Shift-PageUp/Shift-PageDown.
#set -g terminal-overrides "*rxvt*:smcup@:rmcup@"

# Use the mouse wheel to enter copy mode.
#set-window-option -g mode-mouse on

0 comments on commit e28047a

Please sign in to comment.