From e6339fe576ba4a4bc3beb62df8a0684bd0d77a16 Mon Sep 17 00:00:00 2001
From: EuAndreh <eu@euandre.org>
Date: Thu, 25 Aug 2022 06:20:25 -0300
Subject: etc/tmux/tmux.conf: Use $XDG_RUNTIME_DIR over /tmp for urlscan-buffer
 file

---
 etc/tmux/tmux.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
cgit v1.2.3