Add ability to remove GDM theme

This commit is contained in:
Vladyslav Hroshev
2023-12-10 23:09:34 +02:00
parent 253913ae40
commit 068207c949
2 changed files with 31 additions and 2 deletions

View File

@@ -102,6 +102,12 @@ def main():
config.global_gnome_shell_theme, config.gnome_shell_gresource,
config.temp_folder, is_filled=args.filled)
if args.remove:
gdm_rm_status = gdm_theme.remove()
if gdm_rm_status == 0:
print("GDM theme removed successfully.")
return 0
if args.red or args.pink or args.purple or args.blue or args.green or args.yellow or args.gray:
for color in colors["colors"]:
if getattr(args, color):