mirror of https://github.com/nicolargo/glances.git
Put WebUI conf generator in a dedicated script
This commit is contained in:
parent
8c8120fb90
commit
8f240afec1
|
|
@ -0,0 +1,5 @@
|
||||||
|
import json
|
||||||
|
|
||||||
|
from glances.outputs.glances_curses import _GlancesCurses
|
||||||
|
|
||||||
|
print(json.dumps({"leftMenu": [p for p in _GlancesCurses._left_sidebar if p != "now"]}, indent=4))
|
||||||
Loading…
Reference in New Issue