home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1928b3
)
Fix test of scripts dir existence
author
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 22 Jul 2022 17:28:00 +0000
(13:28 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 22 Jul 2022 17:28:00 +0000
(13:28 -0400)
home/.xlaunch
patch
|
blob
|
blame
|
history
diff --git
a/home/.xlaunch
b/home/.xlaunch
index
213e0b2
..
0cf046b
100755
(executable)
--- 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
}
This page took
0.02621 seconds
and
4
git commands to generate.