5 # Executed by startx (run your window manager from here)
7 if [ -d /etc
/X11
/xinit
/xinitrc.d
]; then
8 for f
in /etc
/X11
/xinit
/xinitrc.d
/*; do
14 # workaround for some java apps, when running a non-reparenting window manager
15 export _JAVA_AWT_WM_NONREPARENTING
=1
17 xrdb
-merge ~
/.Xresources
20 xsetroot
-cursor_name left_ptr
&
26 xset
+fp
/usr
/share
/fonts
/local
36 # synaptics (touchpad) configs
37 synclient TapButton2
=3
38 synclient TapButton3
=2
39 synclient HorizTwoFingerScroll
=1
40 synclient VertScrollDelta
=-237
41 synclient HorizScrollDelta
=-237
43 # swap caps lock and esc
44 setxkbmap
-option caps
:swapescape
46 # MPD daemon start (if no other instance exists)
47 [ -z $
(pidof mpd
) ] && mpd
&
53 # lock the screen using lightdm after 5 minutes
54 xautolock
-time 5 -locker "dm-tool lock" &
60 # ...or the Window Manager of your choice
65 # DEFAULTSESSION=bspwm
69 # *) exec $DEFAULTSESSION ;;