2012-07-09 12:06:21 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Setup locale
|
|
|
|
export LANG=fr_FR.utf8
|
|
|
|
export LC_MESSAGES=en_US.utf8
|
|
|
|
|
|
|
|
# Ensure we use the appropriate gtkrc-2.0 file
|
|
|
|
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
|
|
|
|
|
2014-07-03 23:24:48 +02:00
|
|
|
# Java incompatibility with awesome
|
2013-01-23 08:29:49 +01:00
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
2012-11-28 15:32:39 +01:00
|
|
|
|
2014-02-18 09:27:56 +01:00
|
|
|
# We do not want to rely on crappy mailcap
|
|
|
|
export MAILCAPS=$HOME/.mailcap
|
|
|
|
|
2018-07-28 11:12:16 +02:00
|
|
|
# Make QT automatically scale according to screen DPI
|
|
|
|
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
|
|
|
|
2013-08-27 09:27:05 +02:00
|
|
|
# Environment variables
|
2018-07-28 21:08:49 +02:00
|
|
|
[ -e ~/.zshenv ] && . ~/.zshenv
|
2013-08-27 09:27:05 +02:00
|
|
|
|
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 18:36:36 +01:00
|
|
|
mkdir -p ~/.config/systemd
|
|
|
|
ln -nsf ~/.config/awesome/systemd ~/.config/systemd/user
|
2020-01-19 20:33:57 +01:00
|
|
|
systemctl --user daemon-reload
|
2020-01-19 18:36:36 +01:00
|
|
|
exec systemctl --user start --wait xsession@$(systemd-escape -- "$DISPLAY").target
|