diff options
| author | Lorenz Leitner <[email protected]> | 2019-10-01 11:00:42 +0200 |
|---|---|---|
| committer | Lorenz Leitner <[email protected]> | 2019-10-01 11:00:42 +0200 |
| commit | fe700cb77aab6df55de05704082576b19d7652b5 (patch) | |
| tree | 936dae8409fe375136463417dcfe0673db1a9029 | |
| parent | Print (last used) next to last used theme (diff) | |
| download | pywal-fe700cb77aab6df55de05704082576b19d7652b5.tar.xz pywal-fe700cb77aab6df55de05704082576b19d7652b5.zip | |
Do for all types of themes
(dark, light, user)
| -rw-r--r-- | pywal/theme.py | 10 |
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)") |