From 2d5217aa7b003cdcd65f7f29e433563bd64d0f4e Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 13 May 2019 17:23:20 +0100 Subject: [PATCH] Place tmp files in /tmp/${USER} --- bash/.bashrc | 2 +- bash/.profile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index 262240a..52753fa 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -114,5 +114,5 @@ export GPG_TTY=($tty) gpg-connect-agent updatestartuptty /bye > /dev/null export EDITOR="vim" -export TMPDIR="/home/max/.local/tmp" +export TMPDIR="/tmp/${USER}" eval `dircolors ~/.dir_colors` diff --git a/bash/.profile b/bash/.profile index ac900b6..f4e15bd 100644 --- a/bash/.profile +++ b/bash/.profile @@ -9,6 +9,10 @@ if test -z "${XDG_RUNTIME_DIR}"; then fi fi +# Make TMPDIR +mkdir -p "/tmp/${USER}" +chmod 770 "/tmp/${USER}" + export QT_QPA_PLATFORM=wayland-egl if [ -f ~/.config/sway/config.base ]; then -- 2.45.2