diff options
Diffstat (limited to '.config/login.d/03_tmpdir.sh')
-rw-r--r-- | .config/login.d/03_tmpdir.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/login.d/03_tmpdir.sh b/.config/login.d/03_tmpdir.sh new file mode 100644 index 0000000..62413a7 --- /dev/null +++ b/.config/login.d/03_tmpdir.sh @@ -0,0 +1,5 @@ +#!/hint/sh +if [ -n "$XDG_RUNTIME_DIR" ]; then + mkdir -p -- "$XDG_RUNTIME_DIR/tmpdir" + export TMPDIR="$XDG_RUNTIME_DIR/tmpdir" +fi |