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

28
home/dot_profile Normal file
View file

@ -0,0 +1,28 @@
export PATH="${HOME}/.local/bin:${HOME}/.cargo/bin:${PATH}"
# Make XDG_RUNTIME_DIR, required for some sessions
if test -z "${XDG_RUNTIME_DIR}"; then
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
if ! test -d "${XDG_RUNTIME_DIR}"; then
mkdir "${XDG_RUNTIME_DIR}"
chmod 0700 "${XDG_RUNTIME_DIR}"
fi
fi
# Make TMPDIR
mkdir -p "/tmp/${USER}"
chmod 770 "/tmp/${USER}"
# make less more friendly for non-text input files, see lesspipe(1)
if [ -x /usr/bin/lesspipe ]; then
export LESSOPEN="|lesspipe %s"
elif [ -x /usr/bin/lesspipe.sh ]; then
export LESSOPEN="|lesspipe %s"
fi
# colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
export QT_QPA_PLATFORM=wayland-egl
export GTK_THEME="Adwaita:dark"