mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-05-20 08:10:59 +02:00
Dont separate 9 and 16 cols themes wiht dirs
this separation should be done in other way, not with dirs.
This commit is contained in:
parent
685ea69702
commit
5a134aacc6
@ -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)]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user