mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-07-11 03:25:11 +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:
@ -65,10 +65,8 @@ def list_themes(dark=True, nine=False):
|
|||||||
|
|
||||||
def list_themes_user():
|
def list_themes_user():
|
||||||
"""List user theme files."""
|
"""List user theme files."""
|
||||||
themes = [*os.scandir(os.path.join(CONF_DIR, "colorschemes/dark/9")),
|
themes = [*os.scandir(os.path.join(CONF_DIR, "colorschemes/dark/")),
|
||||||
*os.scandir(os.path.join(CONF_DIR, "colorschemes/dark/16")),
|
*os.scandir(os.path.join(CONF_DIR, "colorschemes/light/"))]
|
||||||
*os.scandir(os.path.join(CONF_DIR, "colorschemes/light/9")),
|
|
||||||
*os.scandir(os.path.join(CONF_DIR, "colorschemes/light/16"))]
|
|
||||||
return [t for t in themes if os.path.isfile(t.path)]
|
return [t for t in themes if os.path.isfile(t.path)]
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user