aboutsummaryrefslogtreecommitdiff
path: root/xinitrc
blob: 7af353ad8564e875fe97f3cc991ca72e6d0b3551 (plain) (blame)
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
#!/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

#--- Settings
# I have a red trackpoint button 
synclient TouchpadOff=1

# internal mic is crappy so noise reduction
pactl set-default-source rnnoise_source

#--- Services

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

# notification daemon
launch-dunst &

# bluetooth headset
bluetooth-autoconnect -d &

# clipboard manager
clipmenud &

# pretty windows
picom -b &

# pretty screen
xscreensaver --no-splash &

# pywal16 color theme matches wallpaper
wal -Rq

#--- Desktop

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

# status bar
slstatus &

# restart dwm on quit
while type ~/.local/bin/dwm >/dev/null ; do ~/.local/bin/dwm && continue || break ; done