1
0
mirror of https://gitlab.com/ceda_ei/wish synced 2025-10-31 10:00:04 +01:00

Add dummy plugin, plain theme, allow plugins to override themes

This commit is contained in:
2019-02-16 12:29:33 +05:30
parent 3ffefaef74
commit 313430a48e
3 changed files with 33 additions and 0 deletions

View File

@@ -18,6 +18,11 @@ function wish_init() {
done
[[ $? -ne 0 ]] && echo "Theme $WISH_THEME not found." >&2
# Call plugins to set colors
for i in ${WISH_PLUGINS[@]}; do
eval wish_$(echo $i)_set_colors $prev
done
}