summaryrefslogtreecommitdiff
path: root/.config/login.d/03_tmpdir.sh
blob: 62413a7e760862aa22eab8f16f77498c1934d642 (plain)
1
2
3
4
5
#!/hint/sh
if [ -n "$XDG_RUNTIME_DIR" ]; then
	mkdir -p -- "$XDG_RUNTIME_DIR/tmpdir"
	export TMPDIR="$XDG_RUNTIME_DIR/tmpdir"
fi