This commit is contained in:
Julien Palard 2015-11-28 18:06:22 +01:00
parent 4603e6353e
commit e1b580099a
1 changed files with 34 additions and 0 deletions

34
xsession Normal file
View File

@ -0,0 +1,34 @@
# Disable DPMS turning off the screen
xset dpms force on
xset s off
# Disable bell
xset -b
# Enable zapping (C-A-<Bksp> kills X)
setxkbmap -option terminate:ctrl_alt_bksp
# Enforce correct locales from the beginning
unset LC_COLLATE
export LC_CTYPE=en_US.UTF-8
export LC_TIME=en_US.UTF-8
export LC_NUMERIC=en_US.UTF-8
export LC_MONETARY=en_US.UTF-8
export LC_MESSAGES=C
export LC_PAPER=en_US.UTF-8
export LC_NAME=en_US.UTF-8
export LC_ADDRESS=en_US.UTF-8
export LC_TELEPHONE=en_US.UTF-8
export LC_MEASUREMENT=en_US.UTF-8
export LC_IDENTIFICATION=en_US.UTF-8
# Set background color
xsetroot -solid "#333333"
# Enable core dumps in case something goes wrong
ulimit -c unlimited
# Start i3
feh --bg-fill /home/mandark/meltyLab2.jpg &
xautolock -time 1 -locker i3lock -detectsleep -secure &
exec /usr/bin/i3