Commit | Line | Data |
---|---|---|
1 | #! /bin/bash | |
2 | ||
3 | set -e | |
4 | ||
5 | ||
6 | launch_common() { | |
7 | xbindkeys | |
8 | xscreensaver & | |
9 | mpd --kill || true | |
10 | mpd | |
11 | for script in ~/.xlaunch.d/*; do | |
12 | "$script" | |
13 | done | |
14 | } | |
15 | ||
16 | launch_specialized() { | |
17 | # XXX dunst lazily started by dbus | |
18 | for script in ~/.xlaunch.d."$(hostname)"/*; do | |
19 | "$script" | |
20 | done | |
21 | } | |
22 | ||
23 | launch_common | |
24 | launch_specialized | |
25 | ||
26 | exec dwm |