27 lines
522 B
Bash
27 lines
522 B
Bash
# ~/.xprofile
|
|
|
|
# vim:ft=sh
|
|
|
|
# sourced at boot by xinit and lightdm
|
|
|
|
[ -d /sbin ] && PATH="$PATH:/sbin"
|
|
[ -d /usr/sbin ] && PATH="$PATH:/usr/sbin"
|
|
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
|
|
|
|
# restore the background
|
|
nitrogen --restore &
|
|
|
|
# pressing super alone simulates Alt-F1
|
|
ksuperkey -e 'Super_L=Alt_L|F1' &
|
|
ksuperkey -e 'Super_R=Alt_L|F1' &
|
|
|
|
# display timeout and sleep
|
|
xset s 1200 1300
|
|
xset dpms 1200 1300 1400
|
|
|
|
# keyboard repeat rate
|
|
kbdrate -d 400 -r 50
|
|
xset r rate 350 60
|
|
|
|
export XDG_CONFIG_HOME="$HOME/.config"
|