I would use arrays for the folders
$DIRECTORIES = ("/home/$USER/.icons/breeze" "/home/$USER/local/share/icons/breeze" .....
also
if [ -d "/home/$USER/.icons/breeze" ]; then
just two simple suggestions
I think you could also execute in one context with
cd apps='apps/16' && change_colour && cd ..
or you could write it like this
(cd apps='apps/16';change_colour)
so you use a sub-shell execute
just ideas I am not sure if they are shell agnostic I am a bash user :).
but maybe some help.
j
stuff ;)