chore(tmux): use XDG_CONFIG_HOME to setup plugins

Also update tmux config to reflect this change, and mount a plugin dir.
This commit is contained in:
João Paulo Dubas 2023-10-15 20:53:57 +00:00
parent 442e250ce9
commit 51799d787c
2 changed files with 8 additions and 6 deletions

View File

@ -89,11 +89,11 @@ set-option -g display-panes-colour colour166 #orange
# clock # clock
set-window-option -g clock-mode-colour colour64 #green set-window-option -g clock-mode-colour colour64 #green
# buffer size
set -g history-limit 50000
# list plugins # list plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'Morantron/tmux-fingers' set -g @plugin 'Morantron/tmux-fingers'
set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-yank'
run '~/.tmux/plugins/tpm/tpm' run '~/.config/tmux/plugins/tpm/tpm'
# buffer size
set -g history-limit 50000

View File

@ -9,13 +9,15 @@ services:
entrypoint: sleep entrypoint: sleep
command: infinity command: infinity
volumes: volumes:
- 'home_cache:/home/coder/.cache'
- 'home_local_share:/home/coder/.local/share'
- './config/rtx:/home/coder/.config/rtx' - './config/rtx:/home/coder/.config/rtx'
- './config/tmux:/home/coder/.config/tmux' - './config/tmux:/home/coder/.config/tmux'
- './config/tmuxp:/home/coder/.config/tmuxp' - './config/tmuxp:/home/coder/.config/tmuxp'
- './config/nvim/lua/custom:/home/coder/.config/nvim/lua/custom' - './config/nvim/lua/custom:/home/coder/.config/nvim/lua/custom'
- 'home_cache:/home/coder/.cache'
- 'home_local_share:/home/coder/.local/share'
- 'home_plugins_tmux:/home/coder/.config/tmux/plugins'
volumes: volumes:
home_cache: {} home_cache: {}
home_local_share: {} home_local_share: {}
home_plugins_tmux: {}