This commit is contained in:
Ishaan Bhimwal 2022-07-21 11:37:33 +05:30
parent 39f7ad9a75
commit a5fbc73c44
16 changed files with 32 additions and 32 deletions

View file

@ -68,7 +68,7 @@ class UPowerManager:
isPresent = battery_proxy_interface.Get(
self.UPOWER_NAME + ".Device", "IsPresent"
)
isRechargable = battery_proxy_interface.Get(
isRechargeable = battery_proxy_interface.Get(
self.UPOWER_NAME + ".Device", "IsRechargeable"
)
online = battery_proxy_interface.Get(self.UPOWER_NAME + ".Device", "Online")
@ -128,7 +128,7 @@ class UPowerManager:
"HasHistory": hasHistory,
"HasStatistics": hasStatistics,
"IsPresent": isPresent,
"IsRechargeable": isRechargable,
"IsRechargeable": isRechargeable,
"Online": online,
"PowerSupply": powersupply,
"Capacity": capacity,

View file

@ -1,6 +1,6 @@
"""Displays temperature of blugon and Controls it.
Use wheel up and down to change temperature, middle click to toggle and right click to reset temprature.
Use wheel up and down to change temperature, middle click to toggle and right click to reset temperature.
Default Values:
* Minimum temperature: 1000 (red)

View file

@ -24,9 +24,9 @@ Parameters:
* cpu2.fanspeed
* cpu2.colored: 1 for colored per core load graph, 0 for mono (default)
* cpu2.temp_pattern: pattern to look for in the output of 'sensors -u';
required if cpu2.temp widged is used
required if cpu2.temp widget is used
* cpu2.fan_pattern: pattern to look for in the output of 'sensors -u';
required if cpu2.fanspeed widged is used
required if cpu2.fanspeed widget is used
Note: if you are getting 'n/a' for CPU temperature / fan speed, then you're
lacking the aforementioned pattern settings or they have wrong values.

View file

@ -3,7 +3,7 @@
"""
Displays the message that's received via unix socket.
Parameteres:
Parameters:
* messagereceiver : Unix socket address (e.g: /tmp/bumblebee_messagereceiver.sock)
Example:

View file

@ -3,7 +3,7 @@
"""Displays update information per repository for pacman.
Parameters:
* pacman.sum: If you prefere displaying updates with a single digit (defaults to 'False')
* pacman.sum: If you prefer displaying updates with a single digit (defaults to 'False')
Requires the following executables:
* fakeroot

View file

@ -13,7 +13,7 @@ Parameters:
Example: 'notify-send 'Time up!''. If you want to chain multiple commands,
please use an external wrapper script and invoke that. The module itself does
not support command chaining (see https://github.com/tobi-wan-kenobi/bumblebee-status/issues/532
for a detailled explanation)
for a detailed explanation)
contributed by `martindoublem <https://github.com/martindoublem>`_, inspired by `karthink <https://github.com/karthink>`_ - many thanks!
"""

View file

@ -56,7 +56,7 @@ class Module(core.module.Module):
return self.parameter("placeholder", "n/a")
def update_progress_info(self, widget):
"""Update widget's informations about the copy"""
"""Update widget's information about the copy"""
if not self.__active:
return
@ -64,8 +64,8 @@ class Module(core.module.Module):
# 1. pid
# 2. command
# 3. arguments
# 4. progress (xx.x formated)
# 5. quantity (.. unit / .. unit formated)
# 4. progress (xx.x formatted)
# 5. quantity (.. unit / .. unit formatted)
# 6. speed
# 7. time remaining
extract_nospeed = re.compile(
@ -80,7 +80,7 @@ class Module(core.module.Module):
result = extract_wtspeed.match(raw)
if not result:
# Abord speed measures
# Abort speed measures
raw = util.cli.execute("progress -q")
result = extract_nospeed.match(raw)

View file

@ -10,7 +10,7 @@ Requires the following executables:
* smartctl
Parameters:
* smartstatus.display: how to display (defaults to 'combined', other choices: 'combined_singles', 'seperate' or 'singles')
* smartstatus.display: how to display (defaults to 'combined', other choices: 'combined_singles', 'separate' or 'singles')
* smartstatus.drives: in the case of singles which drives to display, separated comma list value, multiple accepted (defaults to 'sda', example:'sda,sdc')
* smartstatus.show_names: boolean in the form of "True" or "False" to show the name of the drives in the form of sda, sbd, combined or none at all.
"""

View file

@ -16,7 +16,7 @@ Parameters:
Format Strings:
* Format strings are indicated by double %%
* They represent a leaf in the JSON tree, layers seperated by '.'
* They represent a leaf in the JSON tree, layers separated by '.'
* Boolean values can be overwritten by appending '%true%false'
in the format string
* Example: to reference 'open' in '{'state':{'open': true}}'

View file

@ -8,7 +8,7 @@ Parameters:
* traffic.showname: If set to False, hide network interface name (defaults to True)
* traffic.format: Format string for download/upload speeds.
Defaults to '{:.2f}'
* traffic.graphlen: Graph lenth in seconds. Positive even integer. Each
* traffic.graphlen: Graph length in seconds. Positive even integer. Each
char shows 2 seconds. If set, enables up/down traffic
graphs