Skip to content

Commit 067d0b5

Browse files
committed
Change Alacritty theme to Tokyo Night
1 parent bf29084 commit 067d0b5

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

tmux/.config/tmux/tmux.conf

+43-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ set-option -g renumber-windows on
2222
set -g @plugin 'tmux-plugins/tpm'
2323
set -g @plugin 'tmux-plugins/tmux-yank'
2424
set -g @plugin 'tmux-plugins/tmux-sensible'
25+
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
2526
set -g @plugin 'christoomey/vim-tmux-navigator'
26-
set -g @plugin 'janoamaral/tokyo-night-tmux'
2727

2828
# Other examples:
2929
# set -g @plugin 'github_username/plugin_name'
@@ -41,6 +41,48 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
4141
bind '"' split-window -v -c "#{pane_current_path}"
4242
bind % split-window -h -c "#{pane_current_path}"
4343

44+
# -----------------------------------------------------------------------------
45+
# TokyoNight Tmux Colors
46+
# Theme: Tokyo Night
47+
# Upstream: https://github.com/folke/tokyonight.nvim/blob/main/extras/tmux/tokyonight_night.tmux
48+
# -----------------------------------------------------------------------------
49+
set -g mode-style "fg=#7aa2f7,bg=#3b4261"
50+
51+
set -g message-style "fg=#7aa2f7,bg=#3b4261"
52+
set -g message-command-style "fg=#7aa2f7,bg=#3b4261"
53+
54+
set -g pane-border-style "fg=#3b4261"
55+
set -g pane-active-border-style "fg=#7aa2f7"
56+
57+
set -g status "on"
58+
set -g status-justify "left"
59+
60+
set -g status-style "fg=#7aa2f7,bg=#16161e"
61+
62+
set -g status-left-length "100"
63+
set -g status-right-length "100"
64+
65+
set -g status-left-style NONE
66+
set -g status-right-style NONE
67+
68+
set -g status-left "#[fg=#15161e,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#16161e,nobold,nounderscore,noitalics]"
69+
set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %I:%M %p #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h "
70+
if-shell '[ "$(tmux show-option -gqv "clock-mode-style")" == "24" ]' {
71+
set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h "
72+
}
73+
74+
setw -g window-status-activity-style "underscore,fg=#a9b1d6,bg=#16161e"
75+
setw -g window-status-separator ""
76+
setw -g window-status-style "NONE,fg=#a9b1d6,bg=#16161e"
77+
setw -g window-status-format "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[default] #I  #W #F #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]"
78+
setw -g window-status-current-format "#[fg=#16161e,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261,bold] #I  #W #F #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]"
79+
80+
# tmux-plugins/tmux-prefix-highlight support
81+
set -g @prefix_highlight_output_prefix "#[fg=#e0af68]#[bg=#16161e]#[fg=#16161e]#[bg=#e0af68]"
82+
set -g @prefix_highlight_output_suffix ""
83+
84+
# -----------------------------------------------------------------------------
85+
4486
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
4587
if "test ! -d ~/.tmux/plugins/tpm" \
4688
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"

0 commit comments

Comments
 (0)