From 8817b6a602bdf8be30f4da62128f79b7039d09a5 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 19 Jan 2022 18:56:23 +0100 Subject: [Doc] Add floor,ceil,round to manpage. Fixes: #1569 --- doc/rofi-theme.5 | 6 ++++++ doc/rofi-theme.5.markdown | 3 +++ 2 files changed, 9 insertions(+) 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. -- cgit v1.2.3