2021-07-03 14:13:56 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Ensure we use the appropriate gtkrc-2.0 file
|
|
|
|
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
|
|
|
|
|
|
|
|
# We do not want to rely on crappy mailcap
|
|
|
|
export MAILCAPS=$HOME/.mailcap
|
|
|
|
|
|
|
|
# Make QT automatically scale according to screen DPI
|
|
|
|
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
|
|
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
|
|
|
|
|
|
# GTK3 apps try to contact org.a11y.Bus. Disable that.
|
|
|
|
export NO_AT_BRIDGE=1
|
|
|
|
|
|
|
|
# Environment variables
|
2021-07-30 23:41:21 +02:00
|
|
|
. ~/.zshenv
|
2021-07-05 17:39:48 +02:00
|
|
|
export TERMINAL=vbeterm
|
2021-07-03 14:13:56 +02:00
|
|
|
|
|
|
|
# Copy some configuration files
|
|
|
|
while read source target; do
|
|
|
|
for t in $target; do
|
|
|
|
mkdir -p $(dirname $HOME/$t)
|
|
|
|
ln -nsf ~/.config/i3/dotfiles/$source $HOME/$t
|
|
|
|
done
|
|
|
|
done <<EOF
|
2021-07-04 18:25:28 +02:00
|
|
|
Xresources .Xresources
|
|
|
|
gtkrc-2.0 .gtkrc-2.0
|
|
|
|
gtk3.css .config/gtk-3.0/gtk.css
|
|
|
|
qt5ct.conf .config/qt5ct/qt5ct.conf
|
|
|
|
systemd .config/systemd/user
|
|
|
|
dunstrc .config/dunst/dunstrc
|
2021-07-05 18:20:36 +02:00
|
|
|
picom.conf .config/picom.conf
|
2021-07-04 18:25:28 +02:00
|
|
|
polybar.conf .config/polybar/config
|
2021-07-17 22:13:00 +02:00
|
|
|
rofi.conf .config/rofi/config.rasi
|
2021-07-03 14:13:56 +02:00
|
|
|
EOF
|
2021-07-04 14:54:07 +02:00
|
|
|
rm -f ~/.config/gtk-3.0/settings.ini
|
2021-07-03 14:13:56 +02:00
|
|
|
|
|
|
|
# Services are started with systemd
|
|
|
|
systemctl --user import-environment
|
|
|
|
systemctl --user daemon-reload
|
|
|
|
exec systemctl --user start --wait xsession.target
|