diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-05-03 10:54:02 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-05-03 10:54:02 +1000 |
| commit | 4ef37dbd7c3d5640ef62bd2bd216ea74572cfdda (patch) | |
| tree | 6e54b576e85d6c86b7da1ffe0ae233db4e7d95d6 | |
| parent | 08dd711030de11c8cfeef70d0a2f14957419ba9d (diff) | |
theme: Fix minor issues.
| -rw-r--r-- | pywal/theme.py | 12 |
1 files 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.", |
