aboutsummaryrefslogtreecommitdiff
path: root/xinitrc
blob: 5cd03e3a3481ba184cb157931bcb0de24c3de2e2 (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
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env bash

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

source $HOME/.config/shell/vars

#--- Settings

# turn off trackpad
#xinput set-prop 11 172 0
xinput --disable 11

#--- Services

# start user services
dinit -q & 

# automount usb drives to /media with udev rule
udiskie &

# clipboard manager
clipmenud &

# pretty windows
picom -b &

# pretty screen
xscreensaver --no-splash &

#
~/.fehbg &

# pywal16 color theme matches wallpaper
wal -Rq

xrdb ~/.Xresources &

# notification daemon
launch-dunst &

#--- Desktop

# system stats
#conky -c .config/conky/conkyrc &

# status bar dwmblocks-async
/usr/local/bin/dwmblocks &

# window manager
# if dwm exits 0, restart -- this allows hot reloading of config.h
while type dwm >/dev/null ; do dwm && continue || break ; done