Commit | Line | Data |
---|---|---|
3aeeb20d AB |
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 | |
8c17e1b6 | 16 | #feh --bg-scale ~/Pictures/the-witcher-3-wild-hunt-10.jpg |
3aeeb20d AB |
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 | |
8c17e1b6 | 29 | sxhkd & |
3aeeb20d AB |
30 | |
31 | # screen powersave | |
32 | xset +dpms | |
33 | xset dpms 0 0 300 | |
34 | ||
35 | # exec gnome-session | |
36 | # exec startkde | |
8c17e1b6 | 37 | exec startxfce4 |
3aeeb20d AB |
38 | # ...or the Window Manager of your choice |
39 | ||
40 | sxhkd & | |
41 | source ~/.profile | |
8c17e1b6 | 42 | #exec bspwm |