dotfiles/.xsession

35 lines
810 B
Plaintext

# 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