diff options
author | Dave Davenport <qball@gmpclient.org> | 2020-09-14 20:34:39 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2020-09-14 20:34:39 +0200 |
commit | 7c331b130be01d6af3f566417c0a4881260f0c27 (patch) | |
tree | b5a0225bb06d9c82990b4f503899e9a8f19006e9 /doc | |
parent | 798379551f3043a59d69bd371c38d36894f68ce7 (diff) |
[Calc] Add min/max operator support to calc()
Fixes: #1172
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rofi-theme.5.markdown | 12 |
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. |