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 | ||
22611512 AB |
14 | # Enable this for non-reparenting window managers |
15 | export _JAVA_AWT_WM_NONREPARENTING=1 | |
16 | ||
3aeeb20d AB |
17 | xrdb -merge ~/.Xresources |
18 | xsetroot -cursor_name left_ptr & # set the cursor icon | |
d760033f | 19 | feh --bg-scale ~/pics/fall.jpg |
3aeeb20d AB |
20 | xset +fp /usr/share/fonts/local |
21 | xset +fp ~/.fonts | |
22 | xset fp rehash | |
23 | xset b off | |
d760033f | 24 | #xrdb -merge ~/.theme/base16-thewildhunt.dark.xresources |
3aeeb20d | 25 | compton & |
d760033f | 26 | xbacklight -set 50 |
3aeeb20d AB |
27 | synclient TapButton2=3 |
28 | synclient TapButton3=2 | |
29 | synclient HorizTwoFingerScroll=1 | |
30 | synclient VertScrollDelta=-237 | |
31 | synclient HorizScrollDelta=-237 | |
8c17e1b6 | 32 | sxhkd & |
3aeeb20d AB |
33 | |
34 | # screen powersave | |
35 | xset +dpms | |
36 | xset dpms 0 0 300 | |
37 | ||
38 | # exec gnome-session | |
39 | # exec startkde | |
d760033f | 40 | #exec startxfce4 |
3aeeb20d AB |
41 | # ...or the Window Manager of your choice |
42 | ||
43 | sxhkd & | |
44 | source ~/.profile | |
d760033f AB |
45 | panel & |
46 | exec bspwm |