2012-07-09 12:06:21 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Ensure we use the appropriate gtkrc-2.0 file
|
|
|
|
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
|
|
|
|
|
2014-02-18 09:27:56 +01:00
|
|
|
# We do not want to rely on crappy mailcap
|
|
|
|
export MAILCAPS=$HOME/.mailcap
|
|
|
|
|
2020-10-23 14:37:34 +02:00
|
|
|
# Make QT automatically scale according to screen DPI
|
|
|
|
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
2020-11-13 09:55:27 +01:00
|
|
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
2020-10-23 14:37:34 +02:00
|
|
|
|
2020-05-10 16:47:31 +02:00
|
|
|
# GTK3 apps try to contact org.a11y.Bus. Disable that.
|
|
|
|
export NO_AT_BRIDGE=1
|
|
|
|
|
2013-08-27 09:27:05 +02:00
|
|
|
# Environment variables
|
2021-05-22 14:52:44 +02:00
|
|
|
unset LC_ALL
|
2018-07-28 21:08:49 +02:00
|
|
|
[ -e ~/.zshenv ] && . ~/.zshenv
|
2013-08-27 09:27:05 +02:00
|
|
|
|
2021-07-03 14:13:56 +02:00
|
|
|
# Copy dotfiles
|
|
|
|
while read source target; do
|
|
|
|
mkdir -p $(dirname $target)
|
|
|
|
ln -sf ~/.config/i3/dotfiles/$source $HOME/$target
|
|
|
|
done <<EOF
|
|
|
|
Xresources .Xresources
|
|
|
|
gtkrc-2.0 .gtkrc-2.0
|
|
|
|
gtkrc-3.0 .config/gtk-3.0/settings.ini
|
|
|
|
qt5ct.conf .config/qt5ct/qt5ct.conf
|
|
|
|
systemd .config/systemd/user
|
|
|
|
firefox.js .mozilla/firefox/*/user.js
|
|
|
|
EOF
|
|
|
|
|
2020-01-19 20:37:28 +01:00
|
|
|
# Services are started with systemd
|
2015-09-06 16:00:42 +02:00
|
|
|
systemctl --user import-environment
|
2020-01-19 20:33:57 +01:00
|
|
|
systemctl --user daemon-reload
|
2021-07-03 14:13:56 +02:00
|
|
|
exec systemctl --user start --wait xsession.target
|