tmux things

main
Alpha Chen 3 months ago
parent 370cc9071d
commit 19f8425284
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -1,5 +1,10 @@
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*-256color:Tc" # enable 24-bit color
# seems to mess w/the bottom prompt
# set -g allow-passthrough on
# RGB color: https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-rgb-colour
set -as terminal-features ",gnome*:RGB"
## messages
set-option -g display-time 3000
@ -34,19 +39,18 @@ set -g pane-border-status top
set -g pane-border-format ' #{pane_current_command} '
# statusline (shamelessly stolen from powerline)
BG_COLOR="#1c2023"
set-option -g status-interval 2
set-option -g status-left "#{?client_prefix,#[fg=colour254]#[bg=colour31]#[bold]#[noitalics]#[nounderscore],#[fg=colour232]#[bg=colour254]#[bold]#[noitalics]#[nounderscore]} #S #{?client_prefix,#[fg=colour31],#[fg=colour254]}#[bg=$BG_COLOR]#[nobold] "
set-option -g status-left "#{?client_prefix,#[fg=color254]#[bg=color31]#[bold]#[noitalics]#[nounderscore],#[fg=color232]#[bg=color254]#[bold]#[noitalics]#[nounderscore]} #S #{?client_prefix,#[fg=color31],#[fg=color254]}#[bg=color00]#[nobold] "
set-option -g status-left-length 20
set-option -g status-right ""
set-option -g status-style fg=colour231,bg=$BG_COLOR
set-option -g window-status-activity-style fg=colour11,bg=$BG_COLOR
set-option -g window-status-bell-style fg=colour1,bg=$BG_COLOR
set-option -g window-status-current-format "#[fg=colour0,bg=colour31,nobold,noitalics,nounderscore] #[fg=colour117,bg=colour31,nobold,noitalics,nounderscore]#F#[fg=colour231,bg=colour31,bold,noitalics,nounderscore] #W #[fg=colour31,bg=$BG_COLOR,nobold,noitalics,nounderscore]"
set-option -g window-status-format "#[fg=colour244,bg=$BG_COLOR,nobold,noitalics,nounderscore] #{?window_flags,#F, } #[fg=colour240,bg=colour0,nobold,noitalics,nounderscore]#[default]#W "
set-option -g window-status-last-style fg=colour31,bg=$BG_COLOR
set-option -g window-status-style fg=colour249,bg=$BG_COLOR
set-option -g status-style fg=color231,bg=color00
set-option -g window-status-activity-style fg=color11,bg=color00
set-option -g window-status-bell-style fg=color1,bg=color00
set-option -g window-status-current-format "#[fg=color0,bg=color31,nobold,noitalics,nounderscore] #[fg=color117,bg=color31,nobold,noitalics,nounderscore]#F#[fg=color231,bg=color31,bold,noitalics,nounderscore] #W #[fg=color31,bg=color00,nobold,noitalics,nounderscore]"
set-option -g window-status-format "#[fg=color244,bg=color00,nobold,noitalics,nounderscore] #{?window_flags,#F, } #[fg=color240,bg=color0,nobold,noitalics,nounderscore]#[default]#W "
set-option -g window-status-last-style fg=color31,bg=color00
set-option -g window-status-style fg=color249,bg=color00
## etc
set-window-option -g mode-keys vi

Loading…
Cancel
Save