aboutsummaryrefslogtreecommitdiff
path: root/etc/tmux/tmux.conf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-25 06:20:25 -0300
committerEuAndreh <eu@euandre.org>2022-08-25 06:20:25 -0300
commite6339fe576ba4a4bc3beb62df8a0684bd0d77a16 (patch)
treee4ac1592e7a6eba319acbb8c0aa99d7ff4962248 /etc/tmux/tmux.conf
parentopt/tests/x-tests.sh: Add WIP test file (diff)
downloaddotfiles-e6339fe576ba4a4bc3beb62df8a0684bd0d77a16.tar.gz
dotfiles-e6339fe576ba4a4bc3beb62df8a0684bd0d77a16.tar.xz
etc/tmux/tmux.conf: Use $XDG_RUNTIME_DIR over /tmp for urlscan-buffer file
Diffstat (limited to 'etc/tmux/tmux.conf')
-rw-r--r--etc/tmux/tmux.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tmux/tmux.conf b/etc/tmux/tmux.conf
index f2da33b..20468aa 100644
--- a/etc/tmux/tmux.conf
+++ b/etc/tmux/tmux.conf
@@ -82,5 +82,5 @@ bind-key t resize-pane -x 80
bind -n M-r attach-session -t . -c '#{pane_current_path}' \; display-message "CWD for session updated to #{pane_current_path}!"
-bind-key u capture-pane \; save-buffer /tmp/tmux-urlscan-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan < /tmp/tmux-urlscan-buffer"'
+bind-key u capture-pane \; save-buffer $XDG_RUNTIME_DIR/tmux-urlscan-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan < $XDG_RUNTIME_DIR/tmux-urlscan-buffer"'
bind-key - last