Fixed GDM installation, reworked label_files.py, fixed theme removing

This commit is contained in:
Vladyslav Hroshev
2025-04-01 13:23:46 +03:00
parent 860cacaa2c
commit e5f8662269
8 changed files with 100 additions and 70 deletions

View File

@@ -10,12 +10,8 @@ class LocalThemeInstaller(ThemeInstaller):
theme: Theme
def remove(self):
args = self.args
colors = self.colors.colors
if args.remove or args.reinstall:
remove_files(args, colors)
if not args.reinstall:
return
remove_files(self.args, colors)
def _define_theme(self):
theme_folder = os.path.join(config.raw_theme_folder, config.gnome_folder)
@@ -28,4 +24,7 @@ class LocalThemeInstaller(ThemeInstaller):
self.theme.install(hue, theme_name, sat)
def _apply_tweaks_to_theme(self):
self._apply_tweaks(self.theme)
self._apply_tweaks(self.theme)
def _after_install(self):
print("\nTheme installed successfully.")