aboutsummaryrefslogtreecommitdiff
path: root/xinitrc
blob: e2ef55a4a6f660b200da8a02270ad477b40c659f (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
#!/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

# Make sure display is set 
systemctl --user import-environment DISPLAY

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

# X220 internal mic is crap 
# so use noise reduction filter
pactl set-default-source rnnoise_source

#--- Services

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

# clipboard manager
#clipmenud &

# pretty windows
picom -b &

# pretty screen
xscreensaver --no-splash &

# pywal16 color theme matches wallpaper
wal -Rq

# notification daemon
launch-dunst &

#--- Desktop

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

# status bar dwmblocks-async
dwmblocks &

while true ; do
   /usr/local/bin/dwm 2> /dev/null
done