summaryrefslogtreecommitdiff
path: root/.xinitrc
blob: 7ed133bae17a340a99034a78e3f8b519f3af1373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

xset fp rehash

# Windows button is now compose key
setxkbmap -option compose:lwin
setxkbmap -option compose:rwin

# Start godoc server
godoc -http=":6060" &

# exec gnome-session
# exec startkde

#exec startxfce4

if test -e "$BAR_FIFO"; then
	rm -f "$BAR_FIFO"
	mkfifo "$BAR_FIFO"
fi

if test $(hostname) = "kch42-notebook"; then
	synclient TapButton1=0
	synclient VertTwoFingerScroll=0
	synclient VertEdgeScroll=1
fi

start-pulseaudio-x11 &
xsetroot -cursor_name left_ptr &
hsetroot -fill ~/"Bilder/backgrounds/earthporn/1q1tk1 - milky way behind fuji.jpg"
dunst &
sxhkd &
compton &
myredshift daemon &
exec bspwm 2> ~/.bspwm.log

# ...or the Window Manager of your choice