73e04e1c4db18b1f631e70070af70a6d54814617
[~bandali/configs] / x / .xinitrc
1 #!/bin/sh
2 #
3 # ~/.xinitrc
4 #
5 # Executed by startx (run your window manager from here)
6
7 if [ -d /etc/X11/xinit/xinitrc.d ]; then
8 for f in /etc/X11/xinit/xinitrc.d/*; do
9 [ -x "$f" ] && . "$f"
10 done
11 unset f
12 fi
13
14 xrdb -merge ~/.Xresources
15 xsetroot -cursor_name left_ptr & # set the cursor icon
16 feh --bg-scale ~/Pictures/the-witcher-3-wild-hunt-10.jpg
17 xset +fp /usr/share/fonts/local
18 xset +fp ~/.fonts
19 xset fp rehash
20 xset b off
21 xrdb -merge ~/.theme/base16-thewildhunt.dark.xresources
22 compton &
23 #xbacklight -set `xbacklight -get`
24 synclient TapButton2=3
25 synclient TapButton3=2
26 synclient HorizTwoFingerScroll=1
27 synclient VertScrollDelta=-237
28 synclient HorizScrollDelta=-237
29
30 # screen powersave
31 xset +dpms
32 xset dpms 0 0 300
33
34 # exec gnome-session
35 # exec startkde
36 # exec startxfce4
37 # ...or the Window Manager of your choice
38
39 sxhkd &
40 source ~/.profile
41 exec bspwm