From c4cade7bfd8ba57242ec54347f9f3ee750255701 Mon Sep 17 00:00:00 2001 From: slotThe Date: Mon, 14 Dec 2020 14:56:45 +0100 Subject: Further improvements --- doc/plugins.org | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/plugins.org b/doc/plugins.org index 59be7fd..8b529c5 100644 --- a/doc/plugins.org +++ b/doc/plugins.org @@ -18,7 +18,20 @@ All Monitors accept a common set of arguments, described below in [[Default Monitor Arguments]]. Some monitors also accept additional options that are specific to them. When specifying the list of arguments in your configuration, the common options come first, followed by =--=, followed -by any monitor-specific options. +by any monitor-specific options. For example, the following [[=Battery Args RefreshRate=][Battery]] +configuration first sets the global =template= and =Low= arguments and +then specifies the battery-specific =off= option. + +#+begin_src haskell + Run Battery + [ "--template", "" + , "--Low" , "15" + -- battery specific options start here. + , "--" + , "--off" , " ()" + ] + 100 +#+end_src ** Icon patterns -- cgit v1.2.3