al-skel/base/.xprofile

33 lines
659 B
Plaintext
Raw Normal View History

#!/bin/sh
2019-03-02 21:32:13 -06:00
# ~/.xprofile
2019-03-02 21:32:13 -06:00
# sourced at boot by ~/.xinitrc and display managers like lightdm
export XDG_CONFIG_HOME="$HOME/.config"
# add additional directories to PATH
for dir in /sbin /usr/sbin "$HOME/bin"; do
[ -d "$dir" ] && PATH="$dir:$PATH"
done
2019-03-03 17:25:39 -06:00
# compton
compton -b &
2019-03-03 17:25:39 -06:00
# restore the background
nitrogen --restore &
# 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' &
2019-03-02 21:32:13 -06:00
# dpms: timeout sleep off
xset dpms 600 900 1200
# keyboard repeat rate
2018-08-29 20:59:42 -05:00
xset r rate 350 60