2018-11-10 22:27:56 -06:00
|
|
|
#!/bin/sh
|
2019-03-02 21:32:13 -06:00
|
|
|
|
2018-08-26 20:11:10 -05:00
|
|
|
# ~/.xprofile
|
|
|
|
|
2019-03-02 21:32:13 -06:00
|
|
|
# sourced at boot by ~/.xinitrc and display managers like lightdm
|
2018-10-29 03:36:27 -05:00
|
|
|
|
|
|
|
export XDG_CONFIG_HOME="$HOME/.config"
|
2018-02-09 22:35:27 -06:00
|
|
|
|
2018-05-18 22:36:34 -05:00
|
|
|
[ -d /sbin ] && PATH="$PATH:/sbin"
|
2018-05-12 13:00:19 -05:00
|
|
|
[ -d /usr/sbin ] && PATH="$PATH:/usr/sbin"
|
2018-05-18 22:36:34 -05:00
|
|
|
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
|
2018-02-09 22:35:27 -06:00
|
|
|
|
2019-03-03 17:25:39 -06:00
|
|
|
# compton
|
|
|
|
al-compositor --start &
|
|
|
|
|
2018-08-26 20:11:10 -05:00
|
|
|
# restore the background
|
|
|
|
nitrogen --restore &
|
|
|
|
|
2018-10-29 03:36:27 -05:00
|
|
|
# keyring and polkit daemons
|
|
|
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
|
|
gnome-keyring-daemon --start --components=pkcs11 &
|
|
|
|
|
2019-03-02 21:32:13 -06:00
|
|
|
# super alone simulates Alt-F1
|
2018-08-29 20:59:42 -05:00
|
|
|
ksuperkey -e 'Super_L=Alt_L|F1' &
|
|
|
|
ksuperkey -e 'Super_R=Alt_L|F1' &
|
2018-08-26 20:11:10 -05:00
|
|
|
|
2019-03-02 21:32:13 -06:00
|
|
|
# dpms: timeout sleep off
|
|
|
|
xset dpms 600 900 1200
|
2018-08-26 20:11:10 -05:00
|
|
|
|
|
|
|
# keyboard repeat rate
|
2018-08-29 20:59:42 -05:00
|
|
|
xset r rate 350 60
|