ugh catpuccin

This commit is contained in:
Christian Nieves
2024-02-06 14:20:10 +00:00
parent 51b5fe4008
commit bfd786f261
7 changed files with 42 additions and 89 deletions

View File

@ -52,9 +52,6 @@ set -g status on
set-option -g status-interval 2 set-option -g status-interval 2
bind Escape confirm-before "kill-server" bind Escape confirm-before "kill-server"
# Automatically set window title
setw -g automatic-rename off
set-window-option -g automatic-rename off
# set-option -g automatic-rename on # set-option -g automatic-rename on
# set-option -g automatic-rename-format '#{?#{m/r:^(/google/src)?/cloud/,#{pane_current_path}},#{s|^(/google/src)?/cloud/[^/]+/([^/]+).+$|\2|:pane_current_path},#{b:pane_current_path}}' # set-option -g automatic-rename-format '#{?#{m/r:^(/google/src)?/cloud/,#{pane_current_path}},#{s|^(/google/src)?/cloud/[^/]+/([^/]+).+$|\2|:pane_current_path},#{b:pane_current_path}}'
@ -125,17 +122,53 @@ bind-key C-a set-option -g prefix C-a
# No delay for escape key press # No delay for escape key press
set -sg escape-time 0 set -sg escape-time 0
set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M'
set -g @catppuccin_window_default_fill "number"
# set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_default_text "#{pane_current_path}"
set -g @catppuccin_window_current_fill "number"
# set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_window_current_text '#{?#{m/r:^(/google/src)?/cloud/,#{pane_current_path}},#{s|^(/google/src)?/cloud/[^/]+/([^/]+).+$|\2|:pane_current_path},#{b:pane_current_path}}'
set -g @catppuccin_pane_status_enabled "yes"
set -g @catppuccin_pane_border_status "top"
set -g @catppuccin_pane_left_separator ""
set -g @catppuccin_pane_right_separator ""
set -g @catppuccin_pane_middle_separator "█ "
set -g @catppuccin_pane_number_position "left"
set -g @catppuccin_pane_default_fill "number"
set -g @catppuccin_status_modules_right "host cpu weather date_time"
set -g @catppuccin_status_left_separator ""
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_right_separator_inverse "yes"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_window_status_icon_enable "yes"
set -g @catppuccin_icon_window_last "󰖰"
set -g @catppuccin_icon_window_current "󰖯"
set -g @catppuccin_icon_window_zoom "󰁌"
set -g @catppuccin_icon_window_mark "󰃀"
set -g @catppuccin_icon_window_silent "󰂛"
set -g @catppuccin_icon_window_activity "󰖲"
set -g @catppuccin_icon_window_bell "󰂞"
# List of plugins # List of plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-cpu' set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'xamut/tmux-weather'
set -g @plugin 'tmux-plugins/tmux-battery' set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-cowboy' # Kill process in pane w/ prefix+* set -g @plugin 'tmux-plugins/tmux-cowboy' # Kill process in pane w/ prefix+*
set -g @plugin 'catppuccin/tmux' set -g @plugin 'catppuccin/tmux'
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 'tmux-plugins/tmux-prefix-highlight'
set -g @continuum-restore 'on' set -g @continuum-restore 'on'
set -g @resurrect-dir '$HOME/.tmux/resurrect' set -g @resurrect-dir '$HOME/.tmux/resurrect'

View File

@ -1,83 +0,0 @@
######################
### DESIGN CHANGES ###
######################
# Variables
left_sep=''
right_sep=''
left_alt_sep=''
right_alt_sep=''
set -g @cpu_low_icon "=" # icon when cpu is low
set -g @cpu_medium_icon "≡" # icon when cpu is medium
set -g @cpu_high_icon "≣" # icon when cpu is high
set -g @ram_low_fg_color "#[fg=#000000]" # foreground color when ram is low
set -g @ram_medium_fg_color "#[fg=#000000]" # foreground color when ram is medium
set -g @ram_high_fg_color "#[fg=#000000]" # foreground color when ram is high
set -g @cpu_low_fg_color "#[fg=#000000]" # foreground color when cpu is low
set -g @cpu_medium_fg_color "#[fg=#000000]" # foreground color when cpu is medium
set -g @cpu_high_fg_color "#[fg=#000000]" # foreground color when cpu is high
set -g @cpu_low_bg_color "#[bg=green]" # background color when cpu is low
set -g @cpu_medium_bg_color "#[bg=yellow]" # background color when cpu is medium
set -g @cpu_high_bg_color "#[bg=red]" # background color when cpu is high
# set -g @cpu_low_fg_color "#[fg=#83bd68]"
# set -g @cpu_medium_fg_color "#[fg=#f0c674]"
# set -g @cpu_high_fg_color "#[fg=#cc6666]"
# panes
## Status Basr
set -g status-position bottom
set -g status-style bg=colour234,fg=colour238,dim
set -g status-left-length 20
set -g status-left ''
set -g status-interval 2
# Messages
set -g message-style bold,fg=colour232,bg=colour81
# Window Mode
# Window Status
set -g status-style fg=colour137,bg=colour234,dim
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none
# Modes
setw -g clock-mode-colour colour135
setw -g mode-style bg=colour6,fg=colour0,bold,fg=colour46,bg=colour238
# Panes
setw -g clock-mode-colour cyan
set -g mode-style bg=brightcyan,fg=black
set -g message-style bg=brightblack,fg=cyan
set -g message-command-style bg=brightblack,fg=cyan
set -g status-style fg=white,bg=default
set -g status-left '#{?pane_synchronized, ¤ ,}#{?window_zoomed_flag, ↕ ,}'
set -g status-right "#{cpu_bg_color}#{cpu_fg_color} CPU:#{cpu_percentage} #{fg=black}$right_alt_sep#{ram_fg_color}#{ram_bg_color} RAM:#{ram_percentage} #{ram_bg_color} #[fg=black]$right_sep#[fg=default]#[bg=default] #H"
set -g status-right-length 55
set -g pane-border-style fg=brightblack,bg=default
set -g pane-active-border-style fg=colour104,bg=default
set-window-option -g window-status-style fg=colour104,bg=default
set-window-option -g window-status-current-style fg=colour147,bg=default
set-window-option -g window-status-activity-style bg=default,fg=yellow
set-window-option -g window-status-separator " #[fg=colour104]#[bg=default]$left_alt_sep "
# Custom styling, http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/

Submodule tmux/.tmux/plugins/tmux-continuum updated: 3e4bc35da4...0698e8f4b1

Submodule tmux/.tmux/plugins/tmux-prefix-highlight added at 489a961897

Submodule tmux/.tmux/plugins/tmux-weather added at 28a5fbe75b

View File

@ -1,3 +1,4 @@
# vi: ft=sh
export PATH=$PATH:$HOME/bin export PATH=$PATH:$HOME/bin
export PATH=$PATH:$HOME/scripts export PATH=$PATH:$HOME/scripts

View File

@ -63,10 +63,10 @@ alias hgd='source /google/src/head/depot/google3/experimental/fig_contrib/hgshor
alias builddoctor=/google/bin/releases/build-doctor/builddoctor alias builddoctor=/google/bin/releases/build-doctor/builddoctor
alias rudi=/google/data/ro/teams/lsc/bin/rudi-cli alias rudi=/google/data/ro/teams/lsc/bin/rudi-cli
alias rudi-cli=/google/data/ro/teams/lsc/bin/rudi-cli alias rudi-cli=/google/data/ro/teams/lsc/bin/rudi-cli
alias tmux=tmx2
alias graphviz=/google/data/ro/projects/graphviz-server/graphviz alias graphviz=/google/data/ro/projects/graphviz-server/graphviz
alias xrefs=/google/bin/releases/grok/tools/xrefs alias xrefs=/google/bin/releases/grok/tools/xrefs
compdef tmx2=tmux # alias tmux=tmx2
# compdef tmx2=tmux
export ACID_STARTUP_SCRIPT_PATH=~/acid_startup.sh export ACID_STARTUP_SCRIPT_PATH=~/acid_startup.sh
export PATH=$PATH:/usr/local/google/home/cnieves/.local/binexport PATH=$PATH:/usr/local/google/home/cnieves/.local/bin export PATH=$PATH:/usr/local/google/home/cnieves/.local/binexport PATH=$PATH:/usr/local/google/home/cnieves/.local/bin