Compare commits
No commits in common. "836e9ccd567a4a17f22d47f44b62db98c3cc146d" and "ed3eeb94599980b6abd508ee195e3be1ffe995e4" have entirely different histories.
836e9ccd56
...
ed3eeb9459
@ -25,34 +25,75 @@ bind -n M-Right select-pane -R
|
|||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
# Options to make tmux more pleasant
|
# start windows and panes at 1, not 0,
|
||||||
|
set -g base-index 1
|
||||||
|
set -g pane-base-index 1
|
||||||
|
|
||||||
|
# Enable mouse mode
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
set -g default-terminal "tmux-256color"
|
|
||||||
|
|
||||||
run $XDG_CONFIG_HOME/tmux/plugins/tmux/catppuccin.tmux
|
#+---------+
|
||||||
|
#+ Options +
|
||||||
|
#+---------+
|
||||||
|
set -g status-interval 1
|
||||||
|
set -g status on
|
||||||
|
set -g aggressive-resize on
|
||||||
|
|
||||||
# Configure the catppuccin plugin
|
#+--------+
|
||||||
set -g @catppuccin_flavor "macchiato"
|
#+ Status +
|
||||||
set -g @catppuccin_window_status_style "rounded"
|
#+--------+
|
||||||
|
#+--- Layout ---+
|
||||||
|
set -g status-justify left
|
||||||
|
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
#+--- Colors ---+
|
||||||
set -g @plugin 'catppuccin/tmux'
|
set -g status-bg black
|
||||||
|
set -g status-fg white
|
||||||
|
|
||||||
# Make the status line pretty and add some modules
|
#+-------+
|
||||||
set -g status-right-length 100
|
#+ Panes +
|
||||||
set -g status-left-length 100
|
#+-------+
|
||||||
set -g status-left ""
|
set -g pane-border-style bg=black,fg=brightblack
|
||||||
set -g status-right "#{E:@catppuccin_status_application}"
|
set -g pane-active-border-style bg=black,fg=magenta
|
||||||
# set -agF status-right "#{E:@catppuccin_status_cpu}"
|
set -g display-panes-colour black
|
||||||
set -ag status-right "#{E:@catppuccin_status_session}"
|
set -g display-panes-active-colour brightblack
|
||||||
set -ag status-right "#{E:@catppuccin_status_uptime}"
|
|
||||||
# set -agF status-right "#{E:@catppuccin_status_battery}"
|
|
||||||
set -agF status-right "#{@catppuccin_status_host}"
|
|
||||||
|
|
||||||
|
#+------------+
|
||||||
|
#+ Clock Mode +
|
||||||
|
#+------------+
|
||||||
|
setw -g clock-mode-colour cyan
|
||||||
|
|
||||||
|
#+----------+
|
||||||
|
#+ Messages +
|
||||||
|
#+---------+
|
||||||
|
set -g message-style fg=cyan,bg=brightblack
|
||||||
|
set -g message-command-style fg=cyan,bg=brightblack
|
||||||
|
|
||||||
# Ensure and load TPM
|
######################
|
||||||
if "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \
|
### DESIGN CHANGES ###
|
||||||
"run 'git clone https://github.com/tmux-plugins/tpm $XDG_CONFIG_HOME/tmux/plugins/tpm && $XDG_CONFIG_HOME/tmux/plugins/tpm/bin/install_plugins'"
|
######################
|
||||||
|
|
||||||
run $XDG_CONFIG_HOME/tmux/plugins/tpm/tpm
|
## Status bar design
|
||||||
|
# status line
|
||||||
|
set -g status-justify left
|
||||||
|
set -g status-interval 1
|
||||||
|
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
|
||||||
|
#+--- Bars ---+
|
||||||
|
|
||||||
|
set -g status-left ''
|
||||||
|
## Indicate if prefix has been pressed
|
||||||
|
set -ga status-left '#[bg=#white]#[fg=#brightblack]#{?client_prefix,#[fg=red] ◯ , ◯ }'
|
||||||
|
## Session name
|
||||||
|
set -ga status-left "#S"
|
||||||
|
|
||||||
|
set -g status-right ''
|
||||||
|
# Date and time
|
||||||
|
set -ga status-right "#[fg=white,bg=brightblack] %Y-%m-%d |#[fg=white,bg=brightblack] %H:%M"
|
||||||
|
# Hostname
|
||||||
|
set -ga status-right "#[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore] #[fg=black,bg=blue,bold] #h "
|
||||||
|
|
||||||
|
#+--- Windows ---+
|
||||||
|
set -g window-status-format " #[fg=white,bg=brightblack] #I #[fg=white,bg=brightblack]#W #F "
|
||||||
|
set -g window-status-current-format " #[fg=black,bg=cyan] #I #[fg=black,bg=cyan]#W #F "
|
||||||
|
set -g window-status-separator ""
|
||||||
|
@ -1 +0,0 @@
|
|||||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
|
Loading…
Reference in New Issue
Block a user