Fixed opaque tweak, decreased sleep in apply_gnome_theme

This commit is contained in:
Vladyslav Hroshev
2025-04-01 21:20:28 +03:00
parent 627e5b16ce
commit 75cbf08879
2 changed files with 7 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ def apply_gnome_theme(theme=None) -> bool:
formatted_theme = Console.format(theme, color=Color.get(color, Color.GRAY), format_type=Format.BOLD)
line.update(f"Applying {formatted_theme} theme...")
time.sleep(0.1) # applying the theme may freeze, so we need to wait a bit
time.sleep(0.025) # applying the theme may freeze, so we need to wait a bit
apply_user_theme(theme)
line.success(f"Theme {formatted_theme} applied.")
except Exception: