summaryrefslogtreecommitdiffstats
path: root/doc/rofi-theme.5.markdown
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2021-09-12 19:59:36 +0200
committerDave Davenport <qball@blame.services>2021-09-12 19:59:36 +0200
commitff022f89407c4ab99236bbd6adcfc927eb27057d (patch)
tree02ff7fd75cb39d1e6027e27c89c4e7e8cd878a81 /doc/rofi-theme.5.markdown
parentb9e28942bf3f287d3326026708dfd449442ba9b6 (diff)
[DOC] Add default theme loading to rofi-theme manpage.
Diffstat (limited to 'doc/rofi-theme.5.markdown')
-rw-r--r--doc/rofi-theme.5.markdown24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown
index c2c726f9..e0538c7c 100644
--- a/doc/rofi-theme.5.markdown
+++ b/doc/rofi-theme.5.markdown
@@ -4,6 +4,30 @@
**rofi-theme** - Rofi theme format files
+## DEFAULT THEME LOADING
+
+By default, rofi loads the default theme. This theme is **always** loaded.
+In the default (always loaded) configuration it does:
+
+```css
+@theme "default"
+```
+
+To unload the default theme, and load another theme, add `@theme` to your
+`config.rasi` file.
+
+If you have a theme loaded by `@theme` or use the default theme, you can tweak
+it by adding overriding elements at the end of your `config.rasi` file.
+
+For the difference between `@import` and `@theme` see the `Multiple file
+handling` section in this manpage.
+
+To see the default theme, run the following command:
+
+```bash
+rofi -no-config -dump-theme
+```
+
## DESCRIPTION
The need for a new theme format was motivated by the fact that the way rofi handled widgets has changed. From a very