diff --git a/.tmux.conf b/.tmux.conf index 8eebcc5..33b917a 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,5 +1,5 @@ # tmux theme -source-file "${HOME}/.config/tmux/tmux.theme" +source-file "${XDG_CONFIG_HOME}/tmux/tmux.theme" # default shell set-option -g default-shell /bin/zsh @@ -20,7 +20,7 @@ bind - split-window -v -c "#{pane_current_path}" set -g history-limit 50000 # reload config -bind C-r source-file ~/.config/tmux/tmux.conf \; display "Config reloaded!" +bind C-r source-file ${XDG_CONFIG_HOME}/tmux/tmux.conf \; display "Config reloaded!" # switch panes using Alt-arrow without prefix bind -n M-Left select-pane -L @@ -59,4 +59,4 @@ bind -T copy-mode C-c send -X copy-pipe-no-clear "xclip -sel clip" bind -T copy-mode-vi C-c send -X copy-pipe-no-clear "xclip -sel clip" ## init tpm -run '~/.tmux/plugins/tpm/tpm' +run '${XDG_CONFIG_HOME}/tmux/plugins/tpm/tpm'