I wrote this in linux so I now am wondering does FreeBSD support it because it is not working, even though it's still bash. I put it in my startup script for desktops that use one and dockapps
the other file is just a plain text (flat file) list of dockapps
example
so do I have to just fall back to listing everyone of them separately in the startup file instead, or is there just a something missing in that bash code because this is fbsd?
Code:
mapfile -t startapps < $HOME/bin/userstartups/dockappsstartups
for p in ${startapps[@]} ;
do
which "$p" >/dev/null && "$p" &
done
example
Code:
gkrellm
nm-applet
blueman-applet
wmbattery
wmwifi
wmwebcam