Set GTK_THEME in .profile or whatever

This commit is contained in:
Maximilian Friedersdorff 2025-07-02 10:19:55 +01:00
parent 30a450f756
commit 68de9ec1a8
3 changed files with 43 additions and 26 deletions

View file

@ -1,12 +1 @@
# Make XDG_RUNTIME_DIR
if [ -z "${XDG_RUNTIME_DIR}" ]; then
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
if [ ! -d "${XDG_RUNTIME_DIR}" ]; then
mkdir "${XDG_RUNTIME_DIR}"
chmod 0700 "${XDG_RUNTIME_DIR}"
fi
fi
# Make temporary directory
mkdir -p "/tmp/${USER}"
chmod 770 "/tmp/${USER}"
source ~/.profile