This commit is contained in:
foozzi 2024-09-08 15:25:37 +02:00
parent 470f518160
commit d49478dd61
3 changed files with 83 additions and 14 deletions

View file

@ -48,7 +48,7 @@ decorations = "full"
dynamic_padding = false dynamic_padding = false
dynamic_title = true dynamic_title = true
startup_mode = "Maximized" startup_mode = "Maximized"
opacity = 0.9 opacity = 1.0
[window.padding] [window.padding]
x = 2 x = 2

View file

@ -1,4 +1,5 @@
# mouse # mouse
source-file ~/.tmux/themes/tmux-colorscheme.conf
setw -g mouse on setw -g mouse on
unbind C-b unbind C-b
@ -9,7 +10,8 @@ set -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe "pbcopy" bind-key -T copy-mode-vi y send-keys -X copy-pipe "pbcopy"
set -g default-terminal tmux-256color # set -g default-terminal tmux-256color
set -g default-terminal xterm-256color
set -sa terminal-features ',alacritty:RGB' set -sa terminal-features ',alacritty:RGB'
set -ga terminal-overrides ",*256col*:Tc" set -ga terminal-overrides ",*256col*:Tc"
@ -32,27 +34,31 @@ bind -n M-d split-window -h -c '#{pane_current_path}'
bind -n M-W kill-pane bind -n M-W kill-pane
# Automatic restore # Automatic restore
set -g @continuum-restore 'on' # set -g @continuum-restore 'on'
set -g @resurrect-capture-pane-contents 'on' # set -g @resurrect-capture-pane-contents 'on'
#set -g @resurrect-processes '' #set -g @resurrect-processes ''
set -g @catppuccin_window_status_icon_enable "yes" # very unique Mac bug
set -g @catppuccin_window_default_fill "number" if-shell "type 'reattach-to-user-namespace' >/dev/null" "set -g default-command 'reattach-to-user-namespace -l $SHELL'"
set -g @catppuccin_status_left_separator "█"
set -g @catppuccin_status_fill "all" # set -g status-style "fg=#665c54"
set -g @catppuccin_status_modules_right "application session battery" # set -g status-bg default
set -g @catppuccin_application_icon "" set -g status-position top
# set -g status-interval 1
# set -g status-left ""
# disable status
#set -g status off
set -g status on
# plugins # plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-battery' set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect' # set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum' # set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'MunifTanjim/tmux-mode-indicator' set -g @plugin 'MunifTanjim/tmux-mode-indicator'
set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'christoomey/vim-tmux-navigator'
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

View file

@ -0,0 +1,63 @@
### theme settings ###
# window separators
set-option -wg window-status-separator ""
# monitor window changes
set-option -wg monitor-activity on
set-option -wg monitor-bell on
# set statusbar update interval
set-option -g status-interval 1
### colorscheme ###
# change window screen colors
set-option -wg mode-style bg="#fe8019",fg="#3c3836"
# default statusbar colors (terminal bg should be #282828)
set-option -g status-style bg=terminal,fg="#a89984"
# default window title colors
set-option -wg window-status-style bg=terminal,fg="#7c6f64"
# colors for windows with activity
set-option -wg window-status-activity-style bg="#3c3836",fg="#a89984"
# colors for windows with bells
set-option -wg window-status-bell-style bg="#3c3836",fg="#fe8019"
# active window title colors
set-option -wg window-status-current-style bg=terminal,fg="#c3c3c3"
# pane border
set-option -g pane-active-border-style fg="#fe8019"
set-option -g pane-border-style fg="#3c3836"
# message info
set-option -g message-style bg="#fe8019",fg="#3c3836"
# writing commands inactive
set-option -g message-command-style bg="#a89984",fg="#3c3836"
# pane number display
set-option -g display-panes-active-colour "#fe8019"
set-option -g display-panes-colour "#3c3836"
# clock
set-option -wg clock-mode-colour "#fe8019"
# copy mode highlighting
%if #{>=:#{version},3.2}
set-option -wg copy-mode-match-style "bg=#a89984,fg=#3c3836"
set-option -wg copy-mode-current-match-style "bg=#fe8019,fg=#3c3836"
%endif
# statusbar formatting
# "#fe8019" MUST be in lowercase here (conflicts with statusline alias otherwise)
#set-option -g status-left "#{session_name} "
# set-option -g status-right "#[bg=#3c3836, fg=#7c6f64] %Y-%m-%d %H:%M:%S #[bg=#a89984, fg=#3c3836]#{?client_prefix,#[bg=#fe8019],#[bg=#a89984]} #{host_short} "
set-option -g status-right "%Y-%m-%d %H:%M:%S"
set-option -wg window-status-current-format "#{?window_zoomed_flag,#[fg=default bold],#[fg=default]} [#{window_index}]:#{window_name}"
set-option -wg window-status-format "#{?window_zoomed_flag,#[fg=default bold],#[fg=default]} [#{window_index}]:#{window_name}"