vincentbernat.i3wm-configur.../xsession

23 lines
616 B
Text
Raw Normal View History

#!/bin/sh
# Setup PATH
export PATH=$HOME/bin:/sbin:/usr/local/sbin:/usr/sbin:/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games
# 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
# GDM move Xauthority in some obscure place
# See:
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614972
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586685
[ "$XAUTHORITY" = $HOME/.Xauthority ] || {
XAUTHORITY=$HOME/.Xauthority xauth merge $XAUTHORITY
export XAUTHORITY=$HOME/.Xauthority
}
exec awesome