summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2023-01-01 00:04:14 +0100
committerDave Davenport <qball@gmpclient.org>2023-01-01 00:04:14 +0100
commit88d351a4039cd10078fc677a62afb17cbe9360cd (patch)
tree41631f3bb9450edb1da365fb7451e5dfed83295e
parent18ae8a0eb31a2925eb97498a4b2f25bd01ec41dd (diff)
[MKDocs] Link to rasi files in theme page.
-rwxr-xr-xmkdocs/docs/themes/capture.sh7
-rw-r--r--mkdocs/docs/themes/themes.md64
2 files changed, 38 insertions, 33 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 \
diff --git a/mkdocs/docs/themes/themes.md b/mkdocs/docs/themes/themes.md
index b479cf30..e0b1d585 100644
--- a/mkdocs/docs/themes/themes.md
+++ b/mkdocs/docs/themes/themes.md
@@ -1,131 +1,131 @@
# Included Themes
Below is a list of themes shipped with rofi.
Use `rofi-theme-selector` to select and use one of these themes.
-# default
+# Default theme
![default](default.png)
-# Adapta-Nokto
+# [Adapta-Nokto](https://github.com/davatorium/rofi/blob/next/themes/Adapta-Nokto.rasi)
![Adapta-Nokto](Adapta-Nokto.png)
-# android_notification
+# [android_notification](https://github.com/davatorium/rofi/blob/next/themes/android_notification.rasi)
![android_notification](android_notification.png)
-# Arc-Dark
+# [Arc-Dark](https://github.com/davatorium/rofi/blob/next/themes/Arc-Dark.rasi)
![Arc-Dark](Arc-Dark.png)
-# Arc
+# [Arc](https://github.com/davatorium/rofi/blob/next/themes/Arc.rasi)
![Arc](Arc.png)
-# arthur
+# [arthur](https://github.com/davatorium/rofi/blob/next/themes/arthur.rasi)
![arthur](arthur.png)
-# blue
+# [blue](https://github.com/davatorium/rofi/blob/next/themes/blue.rasi)
![blue](blue.png)
-# c64
+# [c64](https://github.com/davatorium/rofi/blob/next/themes/c64.rasi)
![c64](c64.png)
-# DarkBlue
+# [DarkBlue](https://github.com/davatorium/rofi/blob/next/themes/DarkBlue.rasi)
![DarkBlue](DarkBlue.png)
-# dmenu
+# [dmenu](https://github.com/davatorium/rofi/blob/next/themes/dmenu.rasi)
![dmenu](dmenu.png)
-# docu
+# [docu](https://github.com/davatorium/rofi/blob/next/themes/docu.rasi)
![docu](docu.png)
-# fancy2
+# [fancy2](https://github.com/davatorium/rofi/blob/next/themes/fancy2.rasi)
![fancy2](fancy2.png)
-# fancy
+# [fancy](https://github.com/davatorium/rofi/blob/next/themes/fancy.rasi)
![fancy](fancy.png)
-# glue_pro_blue
+# [glue_pro_blue](https://github.com/davatorium/rofi/blob/next/themes/glue_pro_blue.rasi)
![glue_pro_blue](glue_pro_blue.png)
-# gruvbox-dark-hard
+# [gruvbox-dark-hard](https://github.com/davatorium/rofi/blob/next/themes/gruvbox-dark-hard.rasi)
![gruvbox-dark-hard](gruvbox-dark-hard.png)
-# gruvbox-dark
+# [gruvbox-dark](https://github.com/davatorium/rofi/blob/next/themes/gruvbox-dark.rasi)
![gruvbox-dark](gruvbox-dark.png)
-# gruvbox-dark-soft
+# [gruvbox-dark-soft](https://github.com/davatorium/rofi/blob/next/themes/gruvbox-dark-soft.rasi)
![gruvbox-dark-soft](gruvbox-dark-soft.png)
-# gruvbox-light-hard
+# [gruvbox-light-hard](https://github.com/davatorium/rofi/blob/next/themes/gruvbox-light-hard.rasi)
![gruvbox-light-hard](gruvbox-light-hard.png)
-# gruvbox-light
+# [gruvbox-light](https://github.com/davatorium/rofi/blob/next/themes/gruvbox-light.rasi)
![gruvbox-light](gruvbox-light.png)
-# gruvbox-light-soft
+# [gruvbox-light-soft](https://github.com/davatorium/rofi/blob/next/themes/gruvbox-light-soft.rasi)
![gruvbox-light-soft](gruvbox-light-soft.png)
-# iggy
+# [iggy](https://github.com/davatorium/rofi/blob/next/themes/iggy.rasi)
![iggy](iggy.png)
-# Indego
+# [Indego](https://github.com/davatorium/rofi/blob/next/themes/Indego.rasi)
![Indego](Indego.png)
-# lb
+# [lb](https://github.com/davatorium/rofi/blob/next/themes/lb.rasi)
![lb](lb.png)
-# material
+# [material](https://github.com/davatorium/rofi/blob/next/themes/material.rasi)
![material](material.png)
-# Monokai
+# [Monokai](https://github.com/davatorium/rofi/blob/next/themes/Monokai.rasi)
![Monokai](Monokai.png)
-# paper-float
+# [paper-float](https://github.com/davatorium/rofi/blob/next/themes/paper-float.rasi)
![paper-float](paper-float.png)
-# Paper
+# [Paper](https://github.com/davatorium/rofi/blob/next/themes/Paper.rasi)
![Paper](Paper.png)
-# purple
+# [purple](https://github.com/davatorium/rofi/blob/next/themes/purple.rasi)
![purple](purple.png)
-# sidebar
+# [sidebar](https://github.com/davatorium/rofi/blob/next/themes/sidebar.rasi)
![sidebar](sidebar.png)
-# sidebar-v2
+# [sidebar-v2](https://github.com/davatorium/rofi/blob/next/themes/sidebar-v2.rasi)
![sidebar-v2](sidebar-v2.png)
-# solarized_alternate
+# [solarized_alternate](https://github.com/davatorium/rofi/blob/next/themes/solarized_alternate.rasi)
![solarized_alternate](solarized_alternate.png)
-# solarized
+# [solarized](https://github.com/davatorium/rofi/blob/next/themes/solarized.rasi)
![solarized](solarized.png)