From 3e07a9670c8b377a6988b9b75bac3f030ae5f08e Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sat, 9 Mar 2024 20:05:42 -0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20refactor(tmux):=20XDG=20Base=20Dir?= =?UTF-8?q?=20compliance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .tmux.conf => .config/tmux/tmux.conf | 8 ++++---- .gitignore | 4 +--- .tmux/plugins/tpm | 1 - 3 files changed, 5 insertions(+), 8 deletions(-) rename .tmux.conf => .config/tmux/tmux.conf (94%) delete mode 160000 .tmux/plugins/tpm diff --git a/.tmux.conf b/.config/tmux/tmux.conf similarity index 94% rename from .tmux.conf rename to .config/tmux/tmux.conf index 903a0c6..f5c4387 100644 --- a/.tmux.conf +++ b/.config/tmux/tmux.conf @@ -40,7 +40,7 @@ set-option -g prefix C-a bind C-a send-prefix # 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. 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. -if "test ! -d ~/.tmux/plugins/tpm" \ - "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" +if "test ! -d ~/.config/tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm && ~/.config/tmux/plugins/tpm/bin/install_plugins'" # Init tmux plugin manager. # Must be very last line!! -run '~/.tmux/plugins/tpm/tpm' +run '~/.config/tmux/plugins/tpm/tpm' diff --git a/.gitignore b/.gitignore index 517a9bb..9d8dfb0 100644 --- a/.gitignore +++ b/.gitignore @@ -57,7 +57,6 @@ Videos/ .config/gh/hosts.yml .config/cheat/cheatsheets/community/ .config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat -.tmux/plugins/ .config/copyq/copyq-commands.ini .config/copyq/copyq-filter.ini .config/copyq/ @@ -68,8 +67,6 @@ data/ .dot/ .luarocks/lib/luarocks/rocks-5.4/manifest .config/pulse/cookie -.gnupg/ -.config/nvim/lazy-lock.json .config/browsh/ .config/qalculate/qalc.history .config/wireshark/ @@ -80,3 +77,4 @@ hackin/ .config/composer/vendor/ go/pkg .config/systemd/ +.config/tmux/plugins/ diff --git a/.tmux/plugins/tpm b/.tmux/plugins/tpm deleted file mode 160000 index 99469c4..0000000 --- a/.tmux/plugins/tpm +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946