summaryrefslogtreecommitdiff
path: root/src/session-init/setup-env
diff options
context:
space:
mode:
Diffstat (limited to 'src/session-init/setup-env')
-rw-r--r--src/session-init/setup-env25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/session-init/setup-env b/src/session-init/setup-env
new file mode 100644
index 0000000..98fd924
--- /dev/null
+++ b/src/session-init/setup-env
@@ -0,0 +1,25 @@
+#
+# "~/.config/user/setup-env"
+#
+
+# Make sure launchers (eg gmrun) are able to find custom executables.
+export PATH=~/.bin:$PATH
+
+# For ls command.
+export TIME_STYLE=+%Y-%m-%d_%H:%M
+
+# Use ISO date format (originates from configuring thunderbird)
+export LC_TIME=en_DK.UTF-8
+
+# Configure UI colors
+# .. for GTK-2
+export GTK2_RC_FILES=/usr/share/themes/Adwaita-dark/gtk-2.0/gtkrc
+# .. for GTK-3
+export GTK_THEME=Adwaita:dark
+# .. Qt 5 (needs 'qt5-style-plugins' to be installed)
+export QT_QPA_PLATFORMTHEME=gtk2
+
+# Disable QT DPI scaling. Can be really helpful for eg vlc in a multi-monitor
+# setup.
+export QT_AUTO_SCREEN_SCALE_FACTOR=0
+