Make the recent list functional

This commit is contained in:
Kovid Goyal
2021-08-07 15:31:03 +05:30
parent 3287798efe
commit a597a8d86b
2 changed files with 16 additions and 0 deletions

View File

@@ -201,6 +201,9 @@ class Theme:
def save_in_dir(self, dirpath: str) -> None:
atomic_save(self.raw.encode('utf-8'), os.path.join(dirpath, f'{self.name}.conf'))
def save_in_conf(self, confdir: str) -> None:
atomic_save(self.raw.encode('utf-8'), os.path.join(confdir, 'current-theme.conf'))
class Themes: