mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 18:28:34 +02:00
24 lines
752 B
Text
24 lines
752 B
Text
|
#!/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 and put its logs in dedicated files instead of ~/.xsession-errors
|
||
|
exec awesome >> ~/.cache/awesome/stdout 2>> ~/.cache/awesome/stderr
|