diff --git a/i3pystatus/alsa.py b/i3pystatus/alsa.py index 9da543b..1c37753 100644 --- a/i3pystatus/alsa.py +++ b/i3pystatus/alsa.py @@ -9,7 +9,7 @@ class ALSA(IntervalModule): Requires pyalsaaudio - Available formatters: + .. rubric:: Available formatters * `{volume}` — the current volume in percent * `{muted}` — the value of one of the `muted` or `unmuted` settings diff --git a/i3pystatus/backlight.py b/i3pystatus/backlight.py index 55fd025..ef8dc7a 100644 --- a/i3pystatus/backlight.py +++ b/i3pystatus/backlight.py @@ -5,7 +5,7 @@ class Backlight(File): """ Screen backlight info - Available formatters: + .. rubric:: Available formatters * `{brightness}` — current brightness relative to max_brightness * `{max_brightness}` — maximum brightness value diff --git a/i3pystatus/battery.py b/i3pystatus/battery.py index b4c7962..80fd794 100644 --- a/i3pystatus/battery.py +++ b/i3pystatus/battery.py @@ -105,7 +105,7 @@ class BatteryChecker(IntervalModule): This class uses the /sys/class/power_supply/…/uevent interface to check for the battery status - Available formatters: + .. rubric:: Available formatters * `{remaining}` — remaining time for charging or discharging, uses TimeWrapper formatting, default format is `%E%h:%M` * `{percentage}` — battery percentage relative to the last full value diff --git a/i3pystatus/bitcoin.py b/i3pystatus/bitcoin.py index dd21673..77ac764 100644 --- a/i3pystatus/bitcoin.py +++ b/i3pystatus/bitcoin.py @@ -15,7 +15,7 @@ class Bitcoin(IntervalModule): Index API while transaction data is pulled from blockchain.info . - Available formatters: + .. rubric:: Available formatters * {last_price} * {ask_price} diff --git a/i3pystatus/cpu_usage.py b/i3pystatus/cpu_usage.py index 57e2083..8897c22 100644 --- a/i3pystatus/cpu_usage.py +++ b/i3pystatus/cpu_usage.py @@ -18,7 +18,7 @@ class CpuUsage(IntervalModule): Linux only - Available formatters: + .. rubric:: Available formatters * {usage} usage average of all cores * {usage_cpu*} usage of one specific core. replace "*" by core number starting at 0 diff --git a/i3pystatus/cpu_usage_bar.py b/i3pystatus/cpu_usage_bar.py index e9f400e..fce41cd 100644 --- a/i3pystatus/cpu_usage_bar.py +++ b/i3pystatus/cpu_usage_bar.py @@ -13,12 +13,10 @@ class CpuUsageBar(CpuUsage, ColorRangeModule): Requires the PyPI package `colour`. - Available formatters: + .. rubric:: Available formatters * {usage_bar} usage average of all cores * {usage_bar_cpuN} usage of one specific core. replace "N" by core number starting at 0 - - """ format = "{usage_bar}" diff --git a/i3pystatus/cpu_usage_graph.py b/i3pystatus/cpu_usage_graph.py index 3d5a907..2a4be8c 100644 --- a/i3pystatus/cpu_usage_graph.py +++ b/i3pystatus/cpu_usage_graph.py @@ -12,7 +12,7 @@ class CpuUsageGraph(CpuUsage, ColorRangeModule): Linux only - Available formatters: + .. rubric:: Available formatters * {cpu_graph} graph of cpu usage. * {usage} usage average of all cores diff --git a/i3pystatus/mem.py b/i3pystatus/mem.py index 94eb3de..2113779 100644 --- a/i3pystatus/mem.py +++ b/i3pystatus/mem.py @@ -7,7 +7,7 @@ class Mem(IntervalModule): """ Shows memory load - Available formatters: + .. rubric:: Available formatters * {avail_mem} * {percent_used_mem} diff --git a/i3pystatus/mem_bar.py b/i3pystatus/mem_bar.py index 61989fa..560171c 100644 --- a/i3pystatus/mem_bar.py +++ b/i3pystatus/mem_bar.py @@ -8,7 +8,8 @@ class MemBar(IntervalModule, ColorRangeModule): """ Shows memory load as a bar. - Available formatters: + .. rubric:: Available formatters + * {used_mem_bar} Requires psutil and colour (from PyPI) diff --git a/i3pystatus/network.py b/i3pystatus/network.py index ded6d1e..c579e4a 100644 --- a/i3pystatus/network.py +++ b/i3pystatus/network.py @@ -74,7 +74,7 @@ class Network(IntervalModule): Requires the PyPI package `netifaces`. - Available formatters: + .. rubric:: Available formatters * `{interface}` — same as setting * `{name}` — same as setting diff --git a/i3pystatus/network_graph.py b/i3pystatus/network_graph.py index a827763..2916967 100644 --- a/i3pystatus/network_graph.py +++ b/i3pystatus/network_graph.py @@ -12,7 +12,7 @@ class NetworkGraph(NetworkTraffic, ColorRangeModule): Requires the PyPI packages `psutil` and `colour`. - Available formatters: + .. rubric:: Available formatters {kbs} Float representing kb\s {network_graph} Unicode network graph diff --git a/i3pystatus/network_traffic.py b/i3pystatus/network_traffic.py index 3000db8..9c92ff3 100644 --- a/i3pystatus/network_traffic.py +++ b/i3pystatus/network_traffic.py @@ -8,7 +8,7 @@ class NetworkTraffic(IntervalModule): Requires the PyPI packages `psutil`. - Available formatters: + .. rubric:: Available formatters * `{interface}` — the configured network interface * `{bytes_sent}` — bytes sent per second (divided by divisor) diff --git a/i3pystatus/pulseaudio/__init__.py b/i3pystatus/pulseaudio/__init__.py index 6a0a018..1306c31 100644 --- a/i3pystatus/pulseaudio/__init__.py +++ b/i3pystatus/pulseaudio/__init__.py @@ -7,7 +7,7 @@ class PulseAudio(Module): """ Shows volume of default PulseAudio sink (output). - Available formatters: + .. rubric:: Available formatters * `{volume}` — volume in percent (0...100) * `{db}` — volume in decibels relative to 100 %, i.e. 100 % = 0 dB, 50 % = -18 dB, 0 % = -infinity dB diff --git a/i3pystatus/pyload.py b/i3pystatus/pyload.py index 05c6b93..7e58650 100644 --- a/i3pystatus/pyload.py +++ b/i3pystatus/pyload.py @@ -12,7 +12,7 @@ class pyLoad(IntervalModule): """ Shows pyLoad status - Available formatters: + .. rubric:: Available formatters * `{captcha}` (see captcha_true and captcha_false, which are the values filled in for this formatter) * `{progress}` (average over all running downloads) diff --git a/i3pystatus/reddit.py b/i3pystatus/reddit.py index cfdf664..0e10439 100644 --- a/i3pystatus/reddit.py +++ b/i3pystatus/reddit.py @@ -15,7 +15,7 @@ class Reddit(IntervalModule): submission directly. Depends on the Python Reddit API Wrapper (PRAW) . - Available formatters: + .. rubric:: Available formatters * {submission_title} * {submission_author} diff --git a/i3pystatus/weather.py b/i3pystatus/weather.py index 7e0e637..04acf48 100644 --- a/i3pystatus/weather.py +++ b/i3pystatus/weather.py @@ -7,7 +7,7 @@ class Weather(IntervalModule): """ This module gets the weather from weather.com using pywapi module First, you need to get the code for the location from the www.weather.com - Available formatters: + .. rubric:: Available formatters * {current_temp} * {current_wind}