diff --git a/home/.xinitrc b/home/.xinitrc index e4dca6a9..7ce8faf6 100755 --- a/home/.xinitrc +++ b/home/.xinitrc @@ -2,9 +2,6 @@ # this file is executed when calling startx -# session to run -session="openbox-session" - # default arch xinit scripts if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*.sh; do @@ -21,4 +18,4 @@ fi # don't put commands below the exec line # launch the session - exec $session +exec openbox-session diff --git a/home/.xprofile b/home/.xprofile index 090deb58..830e984f 100644 --- a/home/.xprofile +++ b/home/.xprofile @@ -11,21 +11,16 @@ # restore the background nitrogen --restore & -# 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 +# 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 3600 3600 -xset dpms 3600 3700 4000 +xset s 1200 1300 +xset dpms 1200 1300 1400 # keyboard repeat rate -xset r rate 400 50 kbdrate -d 400 -r 50 +xset r rate 350 60 export XDG_CONFIG_HOME="$HOME/.config"