2012-07-09 12:06:21 +02:00
|
|
|
#!/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
|
|
|
|
|
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
|
|
|
|
|
2013-08-27 09:27:05 +02:00
|
|
|
# Environment variables
|
|
|
|
[ -e ~/.zsh/env ] && . ~/.zsh/env
|
|
|
|
|
2012-07-09 12:06:21 +02:00
|
|
|
# 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
|
|
|
|
}
|
|
|
|
|
2014-05-14 08:51:38 +02:00
|
|
|
case "$(hostname)" in
|
|
|
|
neo)
|
|
|
|
xrandr --output HDMI1 --auto --output HDMI2 --auto --right-of HDMI1
|
|
|
|
;;
|
|
|
|
alucard)
|
|
|
|
xrandr --output DVI-0 --auto --primary --output DisplayPort-0 --auto --right-of DVI-0
|
|
|
|
;;
|
2014-06-08 11:24:08 +02:00
|
|
|
zoro)
|
2014-06-17 21:52:58 +02:00
|
|
|
xrandr --output eDP1 --auto --dpi 144
|
2014-06-17 22:45:42 +02:00
|
|
|
echo Xft.dpi: 144 | xrdb -merge
|
2014-06-08 11:24:08 +02:00
|
|
|
;;
|
2014-05-14 08:51:38 +02:00
|
|
|
esac
|
|
|
|
|
2014-06-15 15:00:59 +02:00
|
|
|
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
2014-09-12 13:36:28 +02:00
|
|
|
#rfkill block all 2> /dev/null
|
|
|
|
#xbacklight = 60 2> /dev/null
|
2014-06-15 15:00:59 +02:00
|
|
|
redshift -l 2.3508:48.8567 -t 6500:5500 2> /dev/null &
|
2012-07-21 21:55:12 +02:00
|
|
|
|
2012-07-11 20:04:04 +02:00
|
|
|
exec awesome
|