diff --git a/tmux/themes/catppuccin.tmux b/tmux/themes/catppuccin.tmux new file mode 100644 index 0000000..738c002 --- /dev/null +++ b/tmux/themes/catppuccin.tmux @@ -0,0 +1,14 @@ +# Catppuccin Mocha theme preset for tmux +set -g status-style "bg=#1e1e2e,fg=#cdd6f4" +set -g pane-border-style "fg=#313244" +set -g pane-active-border-style "fg=#89b4fa,bold" +set -g message-style "bg=#f9e2af,fg=#1e1e2e,bold" +set -g mode-style "bg=#f9e2af,fg=#1e1e2e,bold" + +set -g window-status-style "fg=#a6adc8,bg=#1e1e2e" +set -g window-status-format "#[fg=#1e1e2e,bg=#45475a] #I #[fg=#a6adc8,bg=#1e1e2e] #W #[fg=#1e1e2e,bg=default]" +set -g window-status-current-style "fg=#1e1e2e,bg=#89b4fa,bold" +set -g window-status-current-format "#[fg=#1e1e2e,bg=#89b4fa,bold] #I #[fg=#1e1e2e,bg=#74c7ec,bold] #W #[fg=#74c7ec,bg=default]" + +set -g status-left "#[fg=#1e1e2e,bg=#89b4fa,bold] #S #[fg=#89b4fa,bg=#1e1e2e] #[fg=#cdd6f4,bg=#1e1e2e]#(whoami)@#H " +set -g status-right "#[fg=#1e1e2e,bg=#f5c2e7,bold] #{pane_current_command} #[fg=#f5c2e7,bg=#89dceb]#[fg=#1e1e2e,bg=#89dceb,bold] %H:%M #[fg=#89dceb,bg=#a6e3a1]#[fg=#1e1e2e,bg=#a6e3a1,bold] %a %d %b " diff --git a/tmux/themes/gruvbox.tmux b/tmux/themes/gruvbox.tmux new file mode 100644 index 0000000..0972f83 --- /dev/null +++ b/tmux/themes/gruvbox.tmux @@ -0,0 +1,14 @@ +# Gruvbox theme preset for tmux +set -g status-style "bg=#3c3836,fg=#ebdbb2" +set -g pane-border-style "fg=#3c3836" +set -g pane-active-border-style "fg=#fabd2f,bold" +set -g message-style "bg=#d79921,fg=#282828,bold" +set -g mode-style "bg=#d79921,fg=#282828,bold" + +set -g window-status-style "fg=#a89984,bg=#3c3836" +set -g window-status-format "#[fg=#282828,bg=#504945] #I #[fg=#a89984,bg=#3c3836] #W #[fg=#3c3836,bg=default]" +set -g window-status-current-style "fg=#282828,bg=#fabd2f,bold" +set -g window-status-current-format "#[fg=#282828,bg=#fabd2f,bold] #I #[fg=#282828,bg=#d79921,bold] #W #[fg=#d79921,bg=default]" + +set -g status-left "#[fg=#282828,bg=#83a598,bold] #S #[fg=#83a598,bg=#3c3836] #[fg=#ebdbb2,bg=#3c3836]#(whoami)@#H " +set -g status-right "#[fg=#282828,bg=#d3869b,bold] #{pane_current_command} #[fg=#d3869b,bg=#458588]#[fg=#282828,bg=#458588,bold] %H:%M #[fg=#458588,bg=#b8bb26]#[fg=#282828,bg=#b8bb26,bold] %a %d %b " diff --git a/tmux/themes/tokyonight.tmux b/tmux/themes/tokyonight.tmux new file mode 100644 index 0000000..100ab31 --- /dev/null +++ b/tmux/themes/tokyonight.tmux @@ -0,0 +1,14 @@ +# Tokyo Night theme preset for tmux +set -g status-style "bg=#1a1b26,fg=#c0caf5" +set -g pane-border-style "fg=#292e42" +set -g pane-active-border-style "fg=#7aa2f7,bold" +set -g message-style "bg=#e0af68,fg=#1a1b26,bold" +set -g mode-style "bg=#e0af68,fg=#1a1b26,bold" + +set -g window-status-style "fg=#9aa5ce,bg=#1a1b26" +set -g window-status-format "#[fg=#1a1b26,bg=#3b4261] #I #[fg=#9aa5ce,bg=#1a1b26] #W #[fg=#1a1b26,bg=default]" +set -g window-status-current-style "fg=#1a1b26,bg=#7aa2f7,bold" +set -g window-status-current-format "#[fg=#1a1b26,bg=#7aa2f7,bold] #I #[fg=#1a1b26,bg=#73daca,bold] #W #[fg=#73daca,bg=default]" + +set -g status-left "#[fg=#1a1b26,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#1a1b26] #[fg=#c0caf5,bg=#1a1b26]#(whoami)@#H " +set -g status-right "#[fg=#1a1b26,bg=#bb9af7,bold] #{pane_current_command} #[fg=#bb9af7,bg=#7dcfff]#[fg=#1a1b26,bg=#7dcfff,bold] %H:%M #[fg=#7dcfff,bg=#9ece6a]#[fg=#1a1b26,bg=#9ece6a,bold] %a %d %b " diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 162622f..15dee0f 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -217,9 +217,16 @@ set -g window-active-style "bg=default" # RELOAD CONFIG # ============================================ +source-file ~/.config/tmux/themes/gruvbox.tmux + # Toggle top status bar on/off (Prefix + b) bind b if -F "#{==:#{status},on}" "set -g status off" "set -g status on" +# Theme switcher (Prefix + 1/2/3) +bind 1 source-file ~/.config/tmux/themes/gruvbox.tmux +bind 2 source-file ~/.config/tmux/themes/catppuccin.tmux +bind 3 source-file ~/.config/tmux/themes/tokyonight.tmux + # Reload config file with message bind r source-file ~/.config/tmux/tmux.conf \; display-message "󰑓 Config reloaded!"