[docs] add new module

This commit is contained in:
tobi-wan-kenobi 2020-05-23 16:55:24 +02:00
parent 20f9ac3ae0
commit 3d14931cb7
2 changed files with 21 additions and 1 deletions

View file

@ -94,7 +94,7 @@ class print_usage(argparse.Action):
continue
if self._format == "rst":
if os.path.exists(
os.path.join(basepath, "screenshots", "{}.png".format(m))
os.path.join(basepath, "..", "screenshots", "{}.png".format(m))
):
doc = "{}\n\n.. image:: ../screenshots/{}.png".format(doc, m)

View file

@ -10,6 +10,9 @@ cpu
Displays CPU utilization across all CPUs.
Requirements:
* the psutil Python module for the first three items from the list above
Parameters:
* cpu.warning : Warning threshold in % of CPU usage (defaults to 70%)
* cpu.critical: Critical threshold in % of CPU usage (defaults to 80%)
@ -297,6 +300,23 @@ Requires the following packages:
contributed by `qba10 <https://github.com/qba10>`_ - many thanks!
arandr
~~~~~~
Enables handy interaction with arandr for display management. Left-clicking
will execute arandr for interactive display management. Right-clicking will
bring up a context- and state-sensitive menu that will allow you to switch to a
saved screen layout as well as toggle on/off individual connected displays.
Parameters:
* No configuration parameters
Requires the following executable:
* arandr
* xrandr
contributed by `zerorust <https://github.com/zerorust>`_ - many thanks!
arch-update
~~~~~~~~~~~