From 339e1fbca001c7e16165844be8e9a0c8bc707c94 Mon Sep 17 00:00:00 2001 From: Jo Wroten Date: Sun, 4 Aug 2019 17:13:33 -0500 Subject: [PATCH] Theme --- tmux/.tmux.conf | 6 ++++++ tmux/.tmux.theme | 30 ++++++++++++++++++++++++++++++ zsh/.zshrc | 3 +++ 3 files changed, 39 insertions(+) create mode 100644 tmux/.tmux.theme diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 4ec28a3..ea93c0c 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,6 +1,12 @@ # Correct tab numbering set -g base-index 1 +# Move tabs to top +set-option -g status-position top + # Mappings bind-key v split-window -h bind-key s split-window -v +bind r source-file ~/.tmux.conf + +source-file ~/dotfiles/tmux/.tmux.theme diff --git a/tmux/.tmux.theme b/tmux/.tmux.theme new file mode 100644 index 0000000..d457733 --- /dev/null +++ b/tmux/.tmux.theme @@ -0,0 +1,30 @@ +# Non-Airline version of tmux-airline-dracula by sei40kr https://github.com/sei40kr/tmux-airline-dracula/blob/master/airline-dracula.tmux + +black='colour16' +white='colour255' +gray='colour236' +dark_gray='default' +yellow='colour215' +light_purple='colour141' +dark_purple='colour61' + +set-option -g status on +set-option -g status-left-length 100 +set-option -g status-right-length 100 +set-option -g status-bg "${dark_gray}" +set-option -g pane-active-border-fg "${dark_purple}" +set-option -g pane-border-fg "${gray}" +set-option -g message-bg "${gray}" +set-option -g message-fg "${white}" +set-option -g message-command-bg "${gray}" +set-option -g message-command-fg "${white}" +set-option -g status-left "" +set-option -g status-left-style "fg=${white},bg=${dark_purple},bold" +set-option -g status-right "" +set-window-option -g window-status-activity-style "fg=${white},bg=${gray}" +set-window-option -g window-status-separator '' +set-window-option -g window-status-format ' #I #W ' +set-window-option -g window-status-style "fg=${yellow},bg=${dark_gray}" +set-window-option -g window-status-current-format \ + "#[fg=${black}] #I #W #[fg=${dark_gray},reverse]" +set-window-option -g window-status-current-style "fg=${dark_gray},bg=${yellow},bold" diff --git a/zsh/.zshrc b/zsh/.zshrc index 7364fea..ade8ca8 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -10,6 +10,9 @@ autoload -U compinit && compinit -u FRONTEND_SEARCH_FALLBACK='duckduckgo' +ZSH_TMUX_AUTOSTART=true +ZSH_TMUX_FIXTERM=true + plugins=(git zsh-autosuggestions autojump fancy-ctrl-z frontend-search tmux) source $ZSH/oh-my-zsh.sh