revert network stringfmt because of 'Unknown format code 'f''
This commit is contained in:
parent
bd8fbf3390
commit
b36e827c5a
2 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ import subprocess
|
|||
from libqtile import qtile
|
||||
from libqtile.config import Click, Drag, Group, KeyChord, Key, Match, Screen, ScratchPad, DropDown
|
||||
# from libqtile.command import lazy
|
||||
from libqtile import layout, bar, hook #,widget
|
||||
from libqtile import layout, bar, hook # ,widget
|
||||
from libqtile.lazy import lazy
|
||||
# from libqtile.utils import guess_terminal
|
||||
from libqtile.dgroups import simple_key_binder
|
||||
|
|
@ -277,7 +277,7 @@ def init_widgets_list():
|
|||
),
|
||||
widget.Net(
|
||||
interface=get_network_interface(),
|
||||
format='{down:5.2f} ↓↑ {up:5.2f}',
|
||||
format='{down} ↓↑ {up}',
|
||||
prefix='M',
|
||||
foreground=Colors.bg,
|
||||
background=Colors.aqua,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue