fix(theming): keep system color-scheme in sync on every dark mode change

Issue: #2357
This commit is contained in:
Lysec
2026-03-31 02:10:12 +02:00
parent 6d3ca58896
commit 90a5dd1cd8
3 changed files with 8 additions and 6 deletions
@@ -177,6 +177,9 @@ async def main():
await sync_system_appearance(mode, update_gtk_theme=True)
print("GTK colors applied successfully")
else:
# Still push light/dark preference so portal/GTK apps follow the shell even when
# gtk.css / noctalia.css setup failed.
await sync_system_appearance(mode, update_gtk_theme=False)
sys.exit(1)