cli (debug/theme): display currently used background
This commit is contained in:
parent
b1529c1ebf
commit
1419f29df6
2 changed files with 2 additions and 0 deletions
|
|
@ -189,6 +189,7 @@ class LiberviaCli:
|
|||
'your settings in libervia.conf').format(
|
||||
background=repr(background)
|
||||
))
|
||||
self.background = background
|
||||
if background == 'light':
|
||||
C.A_HEADER = A.FG_MAGENTA
|
||||
C.A_SUBHEADER = A.BOLD + A.FG_RED
|
||||
|
|
|
|||
|
|
@ -199,6 +199,7 @@ class Theme(base.CommandBase):
|
|||
pass
|
||||
|
||||
async def start(self):
|
||||
print(f"background currently used: {A.BOLD}{self.host.background}{A.RESET}\n")
|
||||
for attr in dir(C):
|
||||
if not attr.startswith("A_"):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue