From fe700cb77aab6df55de05704082576b19d7652b5 Mon Sep 17 00:00:00 2001 From: Lorenz Leitner Date: Tue, 1 Oct 2019 11:00:42 +0200 Subject: [PATCH] Do for all types of themes (dark, light, user) --- pywal/theme.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pywal/theme.py b/pywal/theme.py index 5c973da..04e4b2b 100644 --- a/pywal/theme.py +++ b/pywal/theme.py @@ -24,14 +24,16 @@ def list_out(): if user_themes: print("\033[1;32mUser Themes\033[0m:") - print(" -", "\n - ".join(sorted(user_themes))) + print(" -", "\n - ".join(t + " (last used)" if t == last_used_theme else t + for t in sorted(user_themes))) print("\033[1;32mDark Themes\033[0m:") - print(" -", "\n - ".join(sorted(dark_themes))) - print(" -", "\n - ".join(t + " (last used)" if t == last_used_theme else t for t in sorted(dark_themes))) + print(" -", "\n - ".join(t + " (last used)" if t == last_used_theme else t + for t in sorted(dark_themes))) print("\033[1;32mLight Themes\033[0m:") - print(" -", "\n - ".join(sorted(ligh_themes))) + print(" -", "\n - ".join(t + " (last used)" if t == last_used_theme else t + for t in sorted(ligh_themes))) print("\033[1;32mExtra\033[0m:") print(" - random (select a random dark theme)")