Compare commits
2 Commits
ed3eeb9459
...
836e9ccd56
Author | SHA1 | Date | |
---|---|---|---|
836e9ccd56 | |||
3506f405d3 |
@ -25,75 +25,34 @@ 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
|
||||||
|
|
||||||
# start windows and panes at 1, not 0,
|
# Options to make tmux more pleasant
|
||||||
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
|
||||||
#+ Status +
|
set -g @catppuccin_flavor "macchiato"
|
||||||
#+--------+
|
set -g @catppuccin_window_status_style "rounded"
|
||||||
#+--- Layout ---+
|
|
||||||
set -g status-justify left
|
|
||||||
|
|
||||||
#+--- Colors ---+
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g status-bg black
|
set -g @plugin 'catppuccin/tmux'
|
||||||
set -g status-fg white
|
|
||||||
|
|
||||||
#+-------+
|
# Make the status line pretty and add some modules
|
||||||
#+ Panes +
|
set -g status-right-length 100
|
||||||
#+-------+
|
set -g status-left-length 100
|
||||||
set -g pane-border-style bg=black,fg=brightblack
|
set -g status-left ""
|
||||||
set -g pane-active-border-style bg=black,fg=magenta
|
set -g status-right "#{E:@catppuccin_status_application}"
|
||||||
set -g display-panes-colour black
|
# set -agF status-right "#{E:@catppuccin_status_cpu}"
|
||||||
set -g display-panes-active-colour brightblack
|
set -ag status-right "#{E:@catppuccin_status_session}"
|
||||||
|
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
|
||||||
### DESIGN CHANGES ###
|
if "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \
|
||||||
######################
|
"run 'git clone https://github.com/tmux-plugins/tpm $XDG_CONFIG_HOME/tmux/plugins/tpm && $XDG_CONFIG_HOME/tmux/plugins/tpm/bin/install_plugins'"
|
||||||
|
|
||||||
## Status bar design
|
run $XDG_CONFIG_HOME/tmux/plugins/tpm/tpm
|
||||||
# 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
.config/zsh/conf.d/30-plugin-autosuggestions.zsh
Normal file
1
.config/zsh/conf.d/30-plugin-autosuggestions.zsh
Normal file
@ -0,0 +1 @@
|
|||||||
|
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
Loading…
Reference in New Issue
Block a user