msg_error "Please specify the icon theme to use."
exit 1
fi
- if ! printf "%s\n" $(get_icon_theme) | grep -x "${1}" 1> /dev/null 2>&1; then
+ if ! printf "%s\n" "$(get_icon_theme)" | grep -x "${1}" 1> /dev/null 2>&1; then
msg_error "${1} was not found."
exit 1
fi
- slick_set_config "icon-theme-name" "${_icon}"
+ slick_set_config "icon-theme-name" "${1}"
}
msg_error "Please specify the theme"
exit 1
fi
- if ! printf "%s\n" $(get_gtk_theme) | grep -x "${1}" 1> /dev/null 2>&1; then
+ if ! printf "%s\n" "$(get_gtk_theme)" | grep -x "${1}" 1> /dev/null 2>&1; then
msg_error "${1} was not found."
exit 1
fi
msg_error "Please specify the icon theme to use."
exit 1
fi
- if ! printf "%s\n" $(get_icon_theme) | grep -x "${1}" 1> /dev/null 2>&1; then
+ if ! printf "%s\n" "$(get_icon_theme)" | grep -x "${1}" 1> /dev/null 2>&1; then
msg_error "${1} was not found."
exit 1
fi