use name'd download folder for dumb browsers

This commit is contained in:
Aaron Bieber 2020-09-28 08:46:02 -06:00
parent 9c96f8601e
commit 397b4a879c

View File

@ -1,7 +1,8 @@
#!/bin/sh
# Make ~/Downloads a temp dir
DL_CACHE=$(mktemp -d /tmp/downloads.XXXXXXXXXX)
DL_CACHE="/tmp/${USER}_downloads"
mkdir $DL_CACHE
ln -sf $DL_CACHE ${HOME}/Downloads
# Disable coredumps