summaryrefslogtreecommitdiffhomepage
path: root/doc/plugins.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-04-18 18:55:04 +0100
committerjao <jao@gnu.org>2022-04-18 18:55:04 +0100
commit552d6f8baa1048ddb5fd22269efd50b90303ca4d (patch)
treef3cd4fdf5facd76633abb99607aa438b4172def2 /doc/plugins.org
parent082ef98c1c265ad927b728402d8803a86bbbaeef (diff)
downloadxmobar-552d6f8baa1048ddb5fd22269efd50b90303ca4d.tar.gz
xmobar-552d6f8baa1048ddb5fd22269efd50b90303ca4d.tar.bz2
CpuFreq: new template parameters max, min and avg.
Fixes #166.
Diffstat (limited to 'doc/plugins.org')
-rw-r--r--doc/plugins.org7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/plugins.org b/doc/plugins.org
index 383207c..8abc461 100644
--- a/doc/plugins.org
+++ b/doc/plugins.org
@@ -382,7 +382,9 @@
- Thresholds refer to frequency in GHz
- Variables that can be used with the =-t/--template= argument:
- =cpu0=, =cpu1=, .., =cpuN=
+ =cpu0=, =cpu1=, .., =cpuN=, give the current frequency of the
+ respective CPU core, and =max=, =min= and =avg= the maximum, minimum
+ and average frequency over all available cores.
- Default template: =Freq: <cpu0>GHz=
@@ -393,6 +395,9 @@
#+begin_src haskell
Run CpuFreq ["-t", "Freq:<cpu0>|<cpu1>GHz", "-L", "0", "-H", "2",
"-l", "lightblue", "-n","white", "-h", "red"] 50
+
+ Run CpuFreq ["-t", "Freq:<avg> GHz", "-L", "0", "-H", "2",
+ "-l", "lightblue", "-n","white", "-h", "red"] 50
#+end_src
***** =CoreTemp Args RefreshRate=