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