Fix reloading of various settings

This commit is contained in:
Kovid Goyal
2021-06-07 08:27:58 +05:30
parent 9003c76261
commit ec31a36fd9
8 changed files with 80 additions and 29 deletions

View File

@@ -398,6 +398,12 @@ class Window:
val = round(val)
return int(val)
def apply_options(self) -> None:
opts = get_options()
self.update_effective_padding()
self.change_titlebar_color()
setup_colors(self.screen, opts)
@property
def title(self) -> str:
return self.override_title or self.child_title