diff options
author | Dave Davenport <qball@blame.services> | 2022-07-15 23:28:57 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-07-15 23:28:57 +0200 |
commit | 386877dd228adb4f4cdb6cb3d8a9900439582e64 (patch) | |
tree | 4d953fafec28441096598a5cd5e3e38eccca0632 /doc/rofi-theme.5.markdown | |
parent | c000e1a9a250ecdb988204baaabe552583377730 (diff) |
[Theme] Add enabled property with env support.
Diffstat (limited to 'doc/rofi-theme.5.markdown')
-rw-r--r-- | doc/rofi-theme.5.markdown | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown index 3e6b8899..fd8ff08b 100644 --- a/doc/rofi-theme.5.markdown +++ b/doc/rofi-theme.5.markdown @@ -1308,6 +1308,7 @@ It supports the following keys as constraint: * `min-aspect-ratio` load when aspect ratio is over value. * `max-aspect-ratio`: load when aspect ratio is under value. * `monitor-id`: The monitor id, see rofi -help for id's. + * `enabled`: Boolean option to enable. Supports environment variable. @media takes an integer number or a fraction, for integer number `px` can be added. @@ -1318,6 +1319,12 @@ It supports the following keys as constraint: } ``` +``` +@media ( enabled: env(DO_LIGHT, false ) { + +} +``` + ## Font Parsing |