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

@@ -20,9 +20,13 @@ class GlobalThemeInstaller(ThemeInstaller):
gdm_temp, mode=self.args.mode, is_filled=self.args.filled)
def _install_theme(self, hue, theme_name, sat):
self.theme.prepare()
self.theme.install(hue, sat)
def _apply_tweaks_to_theme(self):
for theme in self.theme.themes:
self._apply_tweaks(theme.theme)
self._apply_tweaks(theme.theme)
def _after_install(self):
print("\nGDM theme installed successfully.")
print("You need to restart gdm.service to apply changes.")
print("Run \"systemctl restart gdm.service\" to restart GDM.")