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
18 xrdb
-merge ~
/.base16-tomorrow.dark
.256.xresources
21 xsetroot
-cursor_name left_ptr
&
27 xset
+fp
/usr
/share
/fonts
/local
37 # synaptics (touchpad) configs
38 synclient TapButton2
=3
39 synclient TapButton3
=2
40 synclient HorizTwoFingerScroll
=1
41 synclient VertScrollDelta
=-237
42 synclient HorizScrollDelta
=-237
44 # swap caps lock and esc
45 setxkbmap
-option caps
:swapescape
47 # MPD daemon start (if no other instance exists)
48 [ -z $
(pidof mpd
) ] && mpd
&
54 # lock the screen using lightdm after 5 minutes
55 xautolock
-time 5 -locker "slimlock" &
61 # ...or the Window Manager of your choice
70 *) exec $DEFAULTSESSION ;;