Add config options for nick list widget
This commit is contained in:
parent
520206d0f2
commit
d3cd63b67e
1 changed files with 14 additions and 0 deletions
|
|
@ -167,6 +167,16 @@ class EuphConfig(TransparentConfig):
|
||||||
def borders_style(self) -> str:
|
def borders_style(self) -> str:
|
||||||
return self["visual.borders.style"]
|
return self["visual.borders.style"]
|
||||||
|
|
||||||
|
# nick list
|
||||||
|
|
||||||
|
@property
|
||||||
|
def nick_list_heading_style(self) -> str:
|
||||||
|
return self["visual.nick_list.heading_style"]
|
||||||
|
|
||||||
|
@property
|
||||||
|
def nick_list_counter_style(self) -> str:
|
||||||
|
return self["visual.nick_list.counter_style"]
|
||||||
|
|
||||||
# other
|
# other
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
@ -262,6 +272,10 @@ class EuphLoader(TreeLoader):
|
||||||
self.SINGLE_CHAR)
|
self.SINGLE_CHAR)
|
||||||
self.add_style("visual.borders.style", "gray")
|
self.add_style("visual.borders.style", "gray")
|
||||||
|
|
||||||
|
# nick list
|
||||||
|
self.add_style("visual.nick_list.heading_style", "bold")
|
||||||
|
self.add_style("visual.nick_list.counter_style", "gray")
|
||||||
|
|
||||||
# other
|
# other
|
||||||
self.add("styles", Kind.DICT, self.DEFAULT_STYLES)
|
self.add("styles", Kind.DICT, self.DEFAULT_STYLES)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue