Update
This commit is contained in:
parent
166933a898
commit
9bd70c302c
@ -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
|
||||
|
@ -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
|
||||
# pressing super alone simulates Alt-F1
|
||||
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
|
||||
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"
|
||||
|
Reference in New Issue
Block a user