From 5a134aacc6876ef00d616377308f46731adf016d Mon Sep 17 00:00:00 2001 From: eylles Date: Mon, 27 Dec 2021 13:20:09 -0600 Subject: [PATCH] Dont separate 9 and 16 cols themes wiht dirs this separation should be done in other way, not with dirs. --- pywal/theme.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pywal/theme.py b/pywal/theme.py index feddf4b..89666ab 100644 --- a/pywal/theme.py +++ b/pywal/theme.py @@ -65,10 +65,8 @@ def list_themes(dark=True, nine=False): def list_themes_user(): """List user theme files.""" - themes = [*os.scandir(os.path.join(CONF_DIR, "colorschemes/dark/9")), - *os.scandir(os.path.join(CONF_DIR, "colorschemes/dark/16")), - *os.scandir(os.path.join(CONF_DIR, "colorschemes/light/9")), - *os.scandir(os.path.join(CONF_DIR, "colorschemes/light/16"))] + themes = [*os.scandir(os.path.join(CONF_DIR, "colorschemes/dark/")), + *os.scandir(os.path.join(CONF_DIR, "colorschemes/light/"))] return [t for t in themes if os.path.isfile(t.path)]