summaryrefslogtreecommitdiffstats
path: root/doc/rofi-theme.5.markdown
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-09-14 20:34:39 +0200
committerDave Davenport <qball@gmpclient.org>2020-09-14 20:34:39 +0200
commit7c331b130be01d6af3f566417c0a4881260f0c27 (patch)
treeb5a0225bb06d9c82990b4f503899e9a8f19006e9 /doc/rofi-theme.5.markdown
parent798379551f3043a59d69bd371c38d36894f68ce7 (diff)
[Calc] Add min/max operator support to calc()
Fixes: #1172
Diffstat (limited to 'doc/rofi-theme.5.markdown')
-rw-r--r--doc/rofi-theme.5.markdown12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown
index adeccbb0..7c23dbf8 100644
--- a/doc/rofi-theme.5.markdown
+++ b/doc/rofi-theme.5.markdown
@@ -364,11 +364,13 @@ width: calc( 100% - 37px );
It supports the following operations:
-* `+`: Add
-* `-`: Subtract
-* `/`: Divide
-* `*`: Multiply
-* `%`: Multiply
+* `+` : Add
+* `-` : Subtract
+* `/` : Divide
+* `*` : Multiply
+* `%` : Multiply
+* `min` : Minimum of l or rvalue;
+* `max` : Maximum of l or rvalue;
It uses the C precedence ordering.