diff options
author | Dave Davenport <qball@blame.services> | 2022-01-19 18:56:23 +0100 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-01-19 18:56:45 +0100 |
commit | 8817b6a602bdf8be30f4da62128f79b7039d09a5 (patch) | |
tree | 0322e80068d093bbcb26d9ea61b517f8fa39982e | |
parent | 9ab20598654d24f2ab1a367d7fd9f9525b560cf0 (diff) |
[Doc] Add floor,ceil,round to manpage.
Fixes: #1569
-rw-r--r-- | doc/rofi-theme.5 | 6 | ||||
-rw-r--r-- | doc/rofi-theme.5.markdown | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/rofi-theme.5 b/doc/rofi-theme.5 index 098a7013..780ceadb 100644 --- a/doc/rofi-theme.5 +++ b/doc/rofi-theme.5 @@ -655,6 +655,12 @@ It supports the following operations: \fB\fCmin\fR : Minimum of l or rvalue; .IP \(bu 2 \fB\fCmax\fR : Maximum of l or rvalue; +.IP \(bu 2 +\fB\fCfloor\fR : Round down lvalue to the next multiple of rvalue +.IP \(bu 2 +\fB\fCceil\fR : Round up lvalue to the next multiple of rvalue +.IP \(bu 2 +\fB\fCround\fR : Round lvalue to the next multiple of rvalue .RE diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown index 2d7ef660..40398f72 100644 --- a/doc/rofi-theme.5.markdown +++ b/doc/rofi-theme.5.markdown @@ -409,6 +409,9 @@ It supports the following operations: * `%` : Multiply * `min` : Minimum of l or rvalue; * `max` : Maximum of l or rvalue; +* `floor` : Round down lvalue to the next multiple of rvalue +* `ceil` : Round up lvalue to the next multiple of rvalue +* `round` : Round lvalue to the next multiple of rvalue It uses the C precedence ordering. |