[docs] add new module
This commit is contained in:
parent
20f9ac3ae0
commit
3d14931cb7
2 changed files with 21 additions and 1 deletions
|
@ -94,7 +94,7 @@ class print_usage(argparse.Action):
|
||||||
continue
|
continue
|
||||||
if self._format == "rst":
|
if self._format == "rst":
|
||||||
if os.path.exists(
|
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)
|
doc = "{}\n\n.. image:: ../screenshots/{}.png".format(doc, m)
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,9 @@ cpu
|
||||||
|
|
||||||
Displays CPU utilization across all CPUs.
|
Displays CPU utilization across all CPUs.
|
||||||
|
|
||||||
|
Requirements:
|
||||||
|
* the psutil Python module for the first three items from the list above
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
* cpu.warning : Warning threshold in % of CPU usage (defaults to 70%)
|
* cpu.warning : Warning threshold in % of CPU usage (defaults to 70%)
|
||||||
* cpu.critical: Critical threshold in % of CPU usage (defaults to 80%)
|
* 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!
|
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
|
arch-update
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue