new installation setup
[~bandali/configs] / x / .xinitrc
... / ...
CommitLineData
1#!/bin/sh
2#
3# ~/.xinitrc
4#
5# Executed by startx (run your window manager from here)
6
7if [ -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
12fi
13
14# Enable this for non-reparenting window managers
15export _JAVA_AWT_WM_NONREPARENTING=1
16
17xrdb -merge ~/.Xresources
18xsetroot -cursor_name left_ptr & # set the cursor icon
19feh --bg-scale ~/pics/fall.jpg
20xset +fp /usr/share/fonts/local
21xset +fp ~/.fonts
22xset fp rehash
23xset b off
24#xrdb -merge ~/.theme/base16-thewildhunt.dark.xresources
25compton &
26xbacklight -set 50
27synclient TapButton2=3
28synclient TapButton3=2
29synclient HorizTwoFingerScroll=1
30synclient VertScrollDelta=-237
31synclient HorizScrollDelta=-237
32sxhkd &
33
34# screen powersave
35xset +dpms
36xset dpms 0 0 300
37
38# exec gnome-session
39# exec startkde
40#exec startxfce4
41# ...or the Window Manager of your choice
42
43sxhkd &
44source ~/.profile
45panel &
46exec bspwm