use temporary ~/Downloads

This commit is contained in:
Aaron Bieber 2020-08-26 08:25:37 -06:00
parent 955f776e3f
commit 7c7c002a89

6
.xsession Normal file → Executable file
View File

@ -1,8 +1,8 @@
#!/bin/sh
# Make ~/.cache a temp dir
TMP_CACHE=$(mktemp -d /tmp/cache.XXXXXXXXXX)
ln -sf $TMP_CACHE ~/.cache
# Make ~/Downloads a temp dir
DL_CACHE=$(mktemp -d /tmp/downloads.XXXXXXXXXX)
ln -sf $DL_CACHE ~/Downloads
# Disable coredumps
ulimit -Sc 0