summaryrefslogtreecommitdiffstats
path: root/mkdocs/docs/themes/capture.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkdocs/docs/themes/capture.sh')
-rwxr-xr-xmkdocs/docs/themes/capture.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/mkdocs/docs/themes/capture.sh b/mkdocs/docs/themes/capture.sh
index a097cae9..a9933581 100755
--- a/mkdocs/docs/themes/capture.sh
+++ b/mkdocs/docs/themes/capture.sh
@@ -23,7 +23,12 @@ function run_theme
BASE=$(basename ${theme})
NAME=${BASE%.rasi}
export ROFI_PNG_OUTPUT="${NAME}.png"
- echo "# ${NAME}" >> themes.md
+ if [ ${NAME} = "default" ]
+ then
+ echo "# Default theme" >> themes.md
+ else
+ echo "# [${NAME}](https://github.com/davatorium/rofi/blob/next/themes/${BASE})" >> themes.md
+ fi
echo "" >> themes.md
generate_options | ${ROFI_BIN} -theme-str "@theme \"${theme}\"" \
-no-config -dmenu -p "mode" -show-icons \