summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Leitner <lorenz.leitner@student.tugraz.at>2019-10-01 11:00:42 +0200
committerLorenz Leitner <lorenz.leitner@student.tugraz.at>2019-10-01 11:00:42 +0200
commitfe700cb77aab6df55de05704082576b19d7652b5 (patch)
tree936dae8409fe375136463417dcfe0673db1a9029
parent3476989e6bd7a0526ff4dc4d592c8327a4c64f50 (diff)
Do for all types of themes
(dark, light, user)
-rw-r--r--pywal/theme.py10
1 files 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)")