-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.xinitrc
48 lines (35 loc) · 1.14 KB
/
.xinitrc
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
userresources=$XDG_CONFIG_HOME/xorg/Xresources
usermodmap=$XDG_CONFIG_HOME/xorg/Xmodmap
sysresources=/etc/X11/xinit/Xresources
sysmodmap=/etc/X11/xinit/Xmodmap
xlog=$XDG_DATA_HOME/xorg/xsession-errors.`date '+%H:%M-%D' | sed 's,/,.,g'`
[[ -f $sysresources ]] && xrdb -merge $sysresources
[[ -f $sysmodmap ]] && xmodmap $sysmodmap
[[ -f $userresources ]] && xrdb -merge $userresources
[[ -f $usermodmap ]] && xmodmap $usermodmap
# Set mouse
xsetroot -solid gray35
xsetroot -cursor_name left_ptr
# Start compositing
compton --config $XDG_CONFIG_HOME/compton/compton.conf &
# Start notification daemon
dunst &
# Start rtags daemon
which rdm && rdm &
# Load background image
[[ -f $HOME/bin/wallpaper.sh ]] && wallpaper.sh &
# Start urxvt daemon
urxvtd &
# Make some 'humans' to killall humans
humans &
# Monitor git repositories
[[ -d $XDG_DATA_HOME/gitd ]] && git-dude $XDG_DATA_HOME/gitd &
# Start mpd
mpd &
# Start mpdcron
[[ -z $(pgrep -xU $UID mpdcron) ]] && mpdcron -n > $XDG_DATA_HOME/mpdcron.log &
# Start devmon
(sleep 2 && devmon) &
# Start StumpWM
exec sbcl --load $XDG_CONFIG_HOME/stumpwm/start-stump.lisp >> $xlog 2>&1
#exec stumpwm >> $xlog 2>&1