X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2F.xlaunch;h=213e0b2373b7a729e5cdfa077a4e62a6b542080f;hb=658bbf0d939c60f1c94f66ce00a092cc5db74187;hp=be3cc3617f24077ceaabb86820488e0e9648c5c5;hpb=5e511fa81a4e03c1220a5b9a85ed5f5860db26d8;p=khome.git diff --git a/home/.xlaunch b/home/.xlaunch index be3cc36..213e0b2 100755 --- a/home/.xlaunch +++ b/home/.xlaunch @@ -15,9 +15,14 @@ launch_common() { launch_specialized() { # XXX dunst lazily started by dbus - for script in ~/.xlaunch.d."$(hostname)"/*; do - "$script" - done + local -r scripts_dir=~/.xlaunch.d."$(hostname)" + + if test -f "$scripts_dir" + then + for script in "$scripts_dir"/*; do + "$script" + done + fi } launch_common