diff --git a/.env.sample b/.env.sample
index e4e4609..f7b279f 100644
--- a/.env.sample
+++ b/.env.sample
@@ -131,5 +131,4 @@ COPY_ASSETS="$COPY_ASSETS icon.png|app:/web/dist/assets/icons/"
# APP_ICONS="$APP_ICONS hedgedoc:~/.abra/recipes/authentik/icons/hedgedoc.png"
# APPLICATIONS='{"Calendar": "https://nextcloud.example.com/apps/calendar/", "BBB": "https://nextcloud.example.com/apps/bbb/"}'
-# APP_ICONS="$APP_ICONS Calendar:~/.abra/recipes/authentik/icons/calendar.svg"
-# APP_ICONS="$APP_ICONS BBB:~/.abra/recipes/authentik/icons/bbb.png"
+# EXTRA_ICONS={"Calendar": "~/.abra/recipes/authentik/icons/calendar.svg", "BBB": "~/.abra/recipes/authentik/icons/bbb.png"}
diff --git a/abra.sh b/abra.sh
index ddcb3df..7233976 100644
--- a/abra.sh
+++ b/abra.sh
@@ -192,6 +192,10 @@ done
}
set_icons(){
+if [ -n "$1" ]
+then
+APP_ICONS="$1"
+fi
for icon in $APP_ICONS; do
app=$(echo $icon | cut -d ":" -f1)
file_path=$(eval echo $(echo $icon | cut -d ":" -f2))
@@ -202,6 +206,22 @@ for icon in $APP_ICONS; do
done
}
+set_extra_icons(){
+ if [ -z "$EXTRA_ICONS" ]
+ then
+ echo "Variable EXTRA_ICONS is not set"
+ exit 1
+ fi
+ export EXTRA_ICONS
+ icon_key_values=$(python3 -c "
+import json
+import os
+for key, value in json.loads(os.environ['EXTRA_ICONS']).items():
+ print(f'{key}:{value}')
+")
+ set_icons "$icon_key_values"
+}
+
set_app_icon() {
TOKEN=$(cat /run/secrets/admin_token)
python -c """
diff --git a/icons/help.svg b/icons/help.svg
new file mode 100644
index 0000000..c1bcccf
--- /dev/null
+++ b/icons/help.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/icons/support.svg b/icons/support.svg
new file mode 100644
index 0000000..e54440a
--- /dev/null
+++ b/icons/support.svg
@@ -0,0 +1,12 @@
+
+
+
\ No newline at end of file