213e0b2373b7a729e5cdfa077a4e62a6b542080f
[khome.git] / home / .xlaunch
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 local -r scripts_dir=~/.xlaunch.d."$(hostname)"
19
20 if test -f "$scripts_dir"
21 then
22 for script in "$scripts_dir"/*; do
23 "$script"
24 done
25 fi
26 }
27
28 launch_common
29 launch_specialized
30
31 exec dwm
This page took 0.043172 seconds and 3 git commands to generate.