ci fix
This commit is contained in:
parent
88b8813bd7
commit
eb93387290
@ -3,3 +3,4 @@ sphinx>=1.1
|
|||||||
colour>=0.0.5
|
colour>=0.0.5
|
||||||
mock>=1.0
|
mock>=1.0
|
||||||
pep8>=1.5.7
|
pep8>=1.5.7
|
||||||
|
i3ipc>=1.2.0
|
||||||
|
@ -22,6 +22,7 @@ class DeaDBeeF(IntervalModule):
|
|||||||
Requires the `DeaDBeeF` player.
|
Requires the `DeaDBeeF` player.
|
||||||
|
|
||||||
.. rubric:: Available formatters
|
.. rubric:: Available formatters
|
||||||
|
|
||||||
* `{status}` — player status
|
* `{status}` — player status
|
||||||
* `{album}` — album
|
* `{album}` — album
|
||||||
* `{artist}` — artist
|
* `{artist}` — artist
|
||||||
|
@ -231,16 +231,9 @@ class NetworkTraffic:
|
|||||||
class Network(IntervalModule, ColorRangeModule):
|
class Network(IntervalModule, ColorRangeModule):
|
||||||
"""
|
"""
|
||||||
Displays network information for an interface.
|
Displays network information for an interface.
|
||||||
|
|
||||||
formatp support
|
formatp support
|
||||||
|
|
||||||
if u wanna display recv/send speed separate in dynamic color mode, please enable pango hint.
|
if u wanna display recv/send speed separate in dynamic color mode, please enable pango hint.
|
||||||
|
|
||||||
status.register(
|
|
||||||
"network",
|
|
||||||
hints={"markup": "pango"},
|
|
||||||
)
|
|
||||||
|
|
||||||
Requires the PyPI packages `colour`, `netifaces`, `psutil` (optional, see below)
|
Requires the PyPI packages `colour`, `netifaces`, `psutil` (optional, see below)
|
||||||
and `basiciw` (optional, see below).
|
and `basiciw` (optional, see below).
|
||||||
|
|
||||||
@ -276,6 +269,7 @@ class Network(IntervalModule, ColorRangeModule):
|
|||||||
* `{rx_tot_Mbytes}` — total Mbytes received
|
* `{rx_tot_Mbytes}` — total Mbytes received
|
||||||
* `{tx_tot_Mbytes}` — total Mbytes sent
|
* `{tx_tot_Mbytes}` — total Mbytes sent
|
||||||
"""
|
"""
|
||||||
|
|
||||||
settings = (
|
settings = (
|
||||||
("format_up", "format string"),
|
("format_up", "format string"),
|
||||||
("format_down", "format string"),
|
("format_down", "format string"),
|
||||||
|
@ -56,9 +56,9 @@ class WindowTitle(Module):
|
|||||||
|
|
||||||
# don't show window title when the window already has means
|
# don't show window title when the window already has means
|
||||||
# to display it
|
# to display it
|
||||||
if not self.always_show and (
|
if (not self.always_show and
|
||||||
w.border == "normal" or w.type == "workspace"
|
(w.border == "normal" or w.type == "workspace" or
|
||||||
or (p.layout in ("stacked", "tabbed") and len(p.nodes) > 1)):
|
(p.layout in ("stacked", "tabbed") and len(p.nodes) > 1))):
|
||||||
return self.empty_title
|
return self.empty_title
|
||||||
else:
|
else:
|
||||||
title = w.name
|
title = w.name
|
||||||
|
Loading…
Reference in New Issue
Block a user