add Gem.user_dir to PATH (for using RubyGems)
[~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 sxhkd &
30
31 # screen powersave
32 xset +dpms
33 xset dpms 0 0 300
34
35 # exec gnome-session
36 # exec startkde
37 exec startxfce4
38 # ...or the Window Manager of your choice
39
40 sxhkd &
41 source ~/.profile
42 #exec bspwm