20240908
This commit is contained in:
parent
470f518160
commit
d49478dd61
3 changed files with 83 additions and 14 deletions
|
@ -48,7 +48,7 @@ decorations = "full"
|
|||
dynamic_padding = false
|
||||
dynamic_title = true
|
||||
startup_mode = "Maximized"
|
||||
opacity = 0.9
|
||||
opacity = 1.0
|
||||
|
||||
[window.padding]
|
||||
x = 2
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# mouse
|
||||
source-file ~/.tmux/themes/tmux-colorscheme.conf
|
||||
setw -g mouse on
|
||||
|
||||
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 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 -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
|
||||
|
||||
# Automatic restore
|
||||
set -g @continuum-restore 'on'
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
# set -g @continuum-restore 'on'
|
||||
# set -g @resurrect-capture-pane-contents 'on'
|
||||
#set -g @resurrect-processes ''
|
||||
|
||||
set -g @catppuccin_window_status_icon_enable "yes"
|
||||
set -g @catppuccin_window_default_fill "number"
|
||||
set -g @catppuccin_status_left_separator "█"
|
||||
set -g @catppuccin_status_fill "all"
|
||||
set -g @catppuccin_status_modules_right "application session battery"
|
||||
set -g @catppuccin_application_icon ""
|
||||
# very unique Mac bug
|
||||
if-shell "type 'reattach-to-user-namespace' >/dev/null" "set -g default-command 'reattach-to-user-namespace -l $SHELL'"
|
||||
|
||||
# set -g status-style "fg=#665c54"
|
||||
# set -g status-bg default
|
||||
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
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
set -g @plugin 'tmux-plugins/tmux-battery'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
set -g @plugin 'MunifTanjim/tmux-mode-indicator'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
|
|
63
global/.tmux/themes/tmux-colorscheme.conf
Normal file
63
global/.tmux/themes/tmux-colorscheme.conf
Normal 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}"
|
Loading…
Add table
Reference in a new issue