al-skel/home/.xprofile

32 lines
662 B
Plaintext
Raw Normal View History

# ~/.xprofile
# vim:ft=sh
2017-10-23 18:35:35 -05:00
# sourced at boot by xinit and lightdm
2018-05-18 22:36:34 -05:00
[ -d /sbin ] && PATH="$PATH:/sbin"
[ -d /usr/sbin ] && PATH="$PATH:/usr/sbin"
2018-05-18 22:36:34 -05:00
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
# restore the background
nitrogen --restore &
2018-08-28 23:46:36 -05:00
# allow pressing super alone to simulate two key presses
if [[ $session == 'dwm' ]]; then
ksuperkey -e 'Super_L=Alt_L|p' &
ksuperkey -e 'Super_R=Alt_L|p' &
else
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
fi
# display timeout and sleep
xset s 3600 3600
xset dpms 3600 3700 4000
# keyboard repeat rate
xset r rate 400 50
kbdrate -d 400 -r 50
2018-05-08 02:34:04 -05:00
export XDG_CONFIG_HOME="$HOME/.config"