Update configs, move some init stuff to ~/.xprofile, remove ob-autostart

This commit is contained in:
natemaia
2018-08-26 18:11:10 -07:00
parent e6e8e8fa0a
commit 1c713f1bc5
10 changed files with 41 additions and 161 deletions

View File

@ -1,10 +1,32 @@
# .xprofile
# ~/.xprofile
# vim:ft=sh
# sourced at boot by xinit
# 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 &
if [[ $session == 'dwm' ]]; then
# allow pressing super alone to simulate Alt-p
ksuperkey -e 'Super_L=Alt_L|p' &
ksuperkey -e 'Super_R=Alt_L|p' &
else
# allow pressing super alone to simulate Alt-p
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
export XDG_CONFIG_HOME="$HOME/.config"