diff options
Diffstat (limited to 'doc/plugins.org')
-rw-r--r-- | doc/plugins.org | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/doc/plugins.org b/doc/plugins.org index e5bf42a..3433df3 100644 --- a/doc/plugins.org +++ b/doc/plugins.org @@ -1351,22 +1351,18 @@ the display of those numeric fields. - Default template: =Up: <days>d <hours>h <minutes>m= -*** =ArchUpdates' (Zero, One, Many) Rate= - - Aliases to =arch= - - - =Zero=: a =String= for when the system is up to date. - - - =One=: a =String= for when only one update is available. - - - =Many=: a =String= for when several updates are available; it must contain a =?= - character as a placeholder for the number of updates. +*** =ArchUpdates (Zero, One, Many) Rate= + - Aliases to =arch= + - =Zero=: a =String= to use when the system is up to date. + - =One=: a =String= to use when only one update is available. + - =Many=: a =String= to use when several updates are available; it must contain + a =?= character as a placeholder for the number of updates. - Example: - In a plain configuration file: #+begin_src haskell - ArchUpdates' ("<fc=green>up to date</fc>", - "<fc=yellow>1 update</fc>, - "<fc=red>? updates</fc>") + ArchUpdates ("<fc=green>up to date</fc>", + "<fc=yellow>1 update</fc>, + "<fc=red>? updates</fc>") 600 #+end_src * Interfacing with window managers |