Switch from catppuccin to ayu mirage for various tools, switch from p10k to starship, self made tmux and sway statusbar update

This commit is contained in:
Martin Larsson 2025-01-09 17:22:50 +01:00
parent 886818cd1f
commit 93e41aef46
11 changed files with 412 additions and 1874 deletions

View file

@ -81,15 +81,6 @@ set-option -ga terminal-overrides ',*:Tc'
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
set -as terminal-overrides ',*:Setulc=\E[58::2::::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
# Set the default terminal to support 256 colors
# set -g default-terminal "xterm-ghostty"
# Ensure tmux uses true color
# set-option -ga terminal-features 'xterm-256color:RGB'
# set-option -ga terminal-overrides ',xterm-256color:Tc'
# set-option -ga terminal-features 'xterm-ghostty:RGB'
# set-option -ga terminal-overrides ',xterm-ghostty:Tc'
# Make sure that the index of windows and panes starts at 1
set -g base-index 1
set -g pane-base-index 1
@ -97,15 +88,44 @@ set -g renumber-windows on
set -g mode-keys vi
set -g history-limit 10000
set-option -g status-position top
set -g @catppuccin_flavour "macchiato"
set -g @catppuccin_status_background "#1e2030"
set -g @plugin "catppuccin/tmux"
# Address vim mode switching delay (http://superuser.com/a/252717/65504)
set -s escape-time 0
set -g @plugin "tmux-plugins/tmux-sensible"
# Increase scrollback buffer size from 2000 to 50000 lines
set -g history-limit 50000
# Increase tmux messages display duration from 750ms to 4s
set -g display-time 2500
# Refresh 'status-left' and 'status-right' more often, from every 15s to 5s
set -g status-interval 2
# Focus events enabled for terminals that support them
set -g focus-events on
# Super useful when using "grouped sessions" and multi-monitor setup
setw -g aggressive-resize on
# Set the left status: Tabs (window names)
set -g status-left ""
setw -g automatic-rename off
set-hook -g after-new-window "run-shell '~/.config/tmux/tmux-rename-window.sh | xargs tmux rename-window'"
set-hook -g pane-focus-in "run-shell '~/.config/tmux/tmux-rename-window.sh | xargs tmux rename-window'"
setw -g window-status-format "#[bg=#171B24,fg=#CCCAC2] #[bold]#I #[default] #[fg=#73D0FF]#W #[default]"
setw -g window-status-current-format "#[bg=#757B84,fg=#EFEDE7] #[bold]#I #[default] #[fg=#FFAD66]#W #[default]"
# Set the right status: Battery, date and time, session name
set -g status-right "#($HOME/.config/tmux/tmux-status-right.sh) | #S#[default]"
set -g status-bg "#171B24"
set -g status-style bold
# set -g @catppuccin_flavour "macchiato"
# set -g @catppuccin_status_background "#1e2030"
# set -g @plugin "catppuccin/tmux"
set -g @plugin "tmux-plugins/tpm"
run "~/dev/git/tpm/tpm"