diff --git a/apps/shell/tmux/conf b/apps/shell/tmux/conf index 0bd6780..d5a2b6c 100644 --- a/apps/shell/tmux/conf +++ b/apps/shell/tmux/conf @@ -84,7 +84,7 @@ set -g base-index 1 set -g pane-base-index 1 # custom predefined layouts -bind M-l source-file ~/.tmux/layouts/dev.tmux +bind M-l source-file $XDG_CONFIG_HOME/tmux/layouts/dev.tmux # present a menu of urls to open from the visible pane # TODO: fzf-ify this diff --git a/bin/lib/arch-linux/provisioning/tmux-plugins.bash b/bin/lib/arch-linux/provisioning/tmux-plugins.bash index 6a26cd7..3babdf3 100755 --- a/bin/lib/arch-linux/provisioning/tmux-plugins.bash +++ b/bin/lib/arch-linux/provisioning/tmux-plugins.bash @@ -3,15 +3,15 @@ mkdir -p "$HOME/.config/systemd/user" # tmux plugin manager -git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm" +git clone https://github.com/tmux-plugins/tpm "$XDG_CONFIG_HOME/tmux/plugins/tpm" # load tmux config tmux source-file "$HOME/.tmux.conf" # clean, install, and update plugins -bash "$HOME/.tmux/plugins/tpm/bindings/clean_plugins" -bash "$HOME/.tmux/plugins/tpm/bindings/install_plugins" -bash "$HOME/.tmux/plugins/tpm/bindings/update_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/clean_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/install_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/update_plugins" # load tmux config tmux source-file "$HOME/.tmux.conf" diff --git a/bin/lib/debian/provisioning/install-tmux-plugins.bash b/bin/lib/debian/provisioning/install-tmux-plugins.bash index 5db417f..3babdf3 100755 --- a/bin/lib/debian/provisioning/install-tmux-plugins.bash +++ b/bin/lib/debian/provisioning/install-tmux-plugins.bash @@ -3,15 +3,15 @@ mkdir -p "$HOME/.config/systemd/user" # tmux plugin manager -git clone https://github.com/tmux-plugins/tpm "$XDG_CONFIG_HOME/.tmux/plugins/tpm" +git clone https://github.com/tmux-plugins/tpm "$XDG_CONFIG_HOME/tmux/plugins/tpm" # load tmux config tmux source-file "$HOME/.tmux.conf" # clean, install, and update plugins -bash "$XDG_CONFIG_HOME/.tmux/plugins/tpm/bindings/clean_plugins" -bash "$XDG_CONFIG_HOME/.tmux/plugins/tpm/bindings/install_plugins" -bash "$XDG_CONFIG_HOME/.tmux/plugins/tpm/bindings/update_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/clean_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/install_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/update_plugins" # load tmux config tmux source-file "$HOME/.tmux.conf"