♻ refactor(tmux): XDG Base Dir compliance

This commit is contained in:
punkfairie 2024-03-09 20:05:42 -08:00
parent 64610bda00
commit 3e07a9670c
Signed by: punkfairie
GPG key ID: A86AF57F837E320F
3 changed files with 5 additions and 8 deletions

View file

@ -40,7 +40,7 @@ set-option -g prefix C-a
bind C-a send-prefix bind C-a send-prefix
# Easy reload config. # Easy reload config.
bind r source-file ~/.tmux.conf \; display-message "Reloaded ~/.tmux.conf" bind r source-file ~/.config/tmux/tmux.conf \; display-message "Reloaded ~/.config/tmux/tmux.conf"
# Better split commands. # Better split commands.
bind -N 'vsplit' | split-window -h -c "#{pane_current_path}" bind -N 'vsplit' | split-window -h -c "#{pane_current_path}"
@ -143,9 +143,9 @@ set -g @catppuccin_date_time_text "%b %d • %I:%M %p"
################################################################################ ################################################################################
# Install tpm if not already installed. # Install tpm if not already installed.
if "test ! -d ~/.tmux/plugins/tpm" \ if "test ! -d ~/.config/tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" "run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm && ~/.config/tmux/plugins/tpm/bin/install_plugins'"
# Init tmux plugin manager. # Init tmux plugin manager.
# Must be very last line!! # Must be very last line!!
run '~/.tmux/plugins/tpm/tpm' run '~/.config/tmux/plugins/tpm/tpm'

4
.gitignore vendored
View file

@ -57,7 +57,6 @@ Videos/
.config/gh/hosts.yml .config/gh/hosts.yml
.config/cheat/cheatsheets/community/ .config/cheat/cheatsheets/community/
.config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat .config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat
.tmux/plugins/
.config/copyq/copyq-commands.ini .config/copyq/copyq-commands.ini
.config/copyq/copyq-filter.ini .config/copyq/copyq-filter.ini
.config/copyq/ .config/copyq/
@ -68,8 +67,6 @@ data/
.dot/ .dot/
.luarocks/lib/luarocks/rocks-5.4/manifest .luarocks/lib/luarocks/rocks-5.4/manifest
.config/pulse/cookie .config/pulse/cookie
.gnupg/
.config/nvim/lazy-lock.json
.config/browsh/ .config/browsh/
.config/qalculate/qalc.history .config/qalculate/qalc.history
.config/wireshark/ .config/wireshark/
@ -80,3 +77,4 @@ hackin/
.config/composer/vendor/ .config/composer/vendor/
go/pkg go/pkg
.config/systemd/ .config/systemd/
.config/tmux/plugins/

@ -1 +0,0 @@
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946