From 4ef37dbd7c3d5640ef62bd2bd216ea74572cfdda Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 3 May 2018 10:54:02 +1000 Subject: [PATCH] theme: Fix minor issues. --- pywal/theme.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pywal/theme.py b/pywal/theme.py index 756386e..5c065a0 100644 --- a/pywal/theme.py +++ b/pywal/theme.py @@ -21,13 +21,13 @@ def list_out(): if user_themes: print("\033[1;32mUser Themes\033[0m:") - print("\n - ".join(sorted(user_themes))) + print(" -", "\n - ".join(sorted(user_themes))) print("\033[1;32mDark Themes\033[0m:") - print("\n - ".join(sorted(dark_themes))) + print(" -", "\n - ".join(sorted(dark_themes))) print("\033[1;32mLight Themes\033[0m:") - print("\n - ".join(sorted(ligh_themes))) + print(" -", "\n - ".join(sorted(ligh_themes))) print("\033[1;32mExtra\033[0m:") print(" - random (select a random dark theme)") @@ -106,12 +106,12 @@ def file(input_file, light=False): elif input_file == "random_light": theme_file = get_random_theme(light) - elif os.path.isfile(input_file): - theme_file = input_file - elif os.path.isfile(user_theme_file): theme_file = user_theme_file + elif os.path.isfile(input_file): + theme_file = input_file + # Parse the theme file. if os.path.isfile(theme_file): logging.info("Set theme to \033[1;37m%s\033[0m.",