diff options
author | Juan J. Martinez <jjm@usebox.net> | 2019-07-10 10:38:11 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-05-29 22:57:28 +0100 |
commit | 55881d8fefa7ddb17aea95c71494c002e6c3c005 (patch) | |
tree | 1b113c177ce1d751687184ce6b43ae319d89769d | |
parent | 99f5a6ed33a990878506d91b95954d96f6f08448 (diff) | |
download | dotnvim-55881d8fefa7ddb17aea95c71494c002e6c3c005.tar.gz dotnvim-55881d8fefa7ddb17aea95c71494c002e6c3c005.zip |
tmux with style
-rw-r--r-- | tmux.conf | 64 | ||||
-rw-r--r-- | tmux.md | 1 |
2 files changed, 50 insertions, 15 deletions
@@ -34,24 +34,58 @@ set -g history-limit 10000 # avoid delay and ESC behaving weird set -g escape-time 0 -# Status bar with load and time -set -g status-bg '#4e4e4e' -set -g status-fg '#ffffff' -set -g status-left-length 60 -set -g status-left '[#S] #[fg=#80ff80]#H#[default] ' -set -g status-right '%a %H:%M %Y-%m-%d' -set -g window-status-format '#I: #W#F' -set -g window-status-current-format ' #I: #W#F ' -setw -g window-status-current-bg '#80ff80' -setw -g window-status-current-fg '#000000' - -# Pane border colors -set -g pane-active-border-fg '#40a040' -set -g pane-border-fg '#555555' - # For vim plugins relaying on focus events set -g focus-events on # Bind to reload config bind r source-file ~/.tmux.conf +## COLORSCHEME: gruvbox dark +set-option -g status "on" + +# default statusbar color +set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1 + +# default window title colors +set-window-option -g window-status-style bg=colour214,fg=colour237 # bg=yellow, fg=bg1 + +# default window with an activity alert +set-window-option -g window-status-activity-style bg=colour237,fg=colour248 # bg=bg1, fg=fg3 + +# active window title colors +set-window-option -g window-status-current-style bg=red,fg=colour237 # fg=bg1 + +# pane border +set-option -g pane-active-border-style fg=colour250 #fg2 +set-option -g pane-border-style fg=colour237 #bg1 + +# message infos +set-option -g message-style bg=colour239,fg=colour223 # bg=bg2, fg=fg1 + +# writing commands inactive +set-option -g message-command-style bg=colour239,fg=colour223 # bg=fg3, fg=bg1 + +# pane number display +set-option -g display-panes-active-colour colour250 #fg2 +set-option -g display-panes-colour colour237 #bg1 + +# clock +set-window-option -g clock-mode-colour colour109 #blue + +# bell +set-window-option -g window-status-bell-style bg=colour167,fg=colour235 # bg=red, fg=bg + +## Theme settings mixed with colors (unfortunately, but there is no cleaner way) +set-option -g status-justify "left" +set-option -g status-left-style none +set-option -g status-left-length "80" +set-option -g status-right-style none +set-option -g status-right-length "80" +set-window-option -g window-status-separator "" + +set-option -g status-left "#[fg=colour248, bg=colour241] #S #[fg=colour241, bg=colour237, nobold, noitalics, nounderscore]" +set-option -g status-right "#[fg=colour239, bg=colour237, nobold, nounderscore, noitalics]#[fg=colour246,bg=colour239] %Y-%m-%d %H:%M #[fg=colour248, bg=colour239, nobold, noitalics, nounderscore]#[fg=colour237, bg=colour248] #h " + +set-window-option -g window-status-current-format "#[fg=colour237, bg=colour214, nobold, noitalics, nounderscore]#[fg=colour239, bg=colour214] #I #[fg=colour239, bg=colour214, bold] #W #[fg=colour214, bg=colour237, nobold, noitalics, nounderscore]" +set-window-option -g window-status-format "#[fg=colour237,bg=colour239,noitalics]#[fg=colour223,bg=colour239] #I #[fg=colour223, bg=colour239] #W #[fg=colour239, bg=colour237, noitalics]" + @@ -4,6 +4,7 @@ Required: - tmux 2.4+ - xclip (this is for X, sorry) + - requires a powerline compatible font (tip: install `powerline-tools` in Debian/Ubuntu) This is not vim related, but I find it very useful so I like to keep it with my vim conf. |