X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2F.xlaunch;h=0cf046b001e2710ad6a61ad66a32d9425bf0c069;hb=57081bde54b513a4a884f2144fe28a96d275474f;hp=213e0b2373b7a729e5cdfa077a4e62a6b542080f;hpb=d1928b32987357d262a65a6aa61a9081e7af68d4;p=khome.git diff --git a/home/.xlaunch b/home/.xlaunch index 213e0b2..0cf046b 100755 --- a/home/.xlaunch +++ b/home/.xlaunch @@ -17,11 +17,13 @@ launch_specialized() { # XXX dunst lazily started by dbus local -r scripts_dir=~/.xlaunch.d."$(hostname)" - if test -f "$scripts_dir" + if test -d "$scripts_dir" then for script in "$scripts_dir"/*; do "$script" done + else + printf '[error] scripts_dir not found: %s\n' "$scripts_dir" >&2 fi }