mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-24 23:09:16 +01:00
misc: cleanup
This commit is contained in:
parent
d364829fa5
commit
3d3f9ce2c5
@ -11,11 +11,8 @@ from . import util
|
||||
|
||||
def index():
|
||||
"""List all installed theme files."""
|
||||
themes = [theme for theme in
|
||||
os.scandir(os.path.join(CONF_DIR, "colorschemes"))]
|
||||
themes += [theme for theme in
|
||||
os.scandir(os.path.join(MODULE_DIR, "colorschemes"))]
|
||||
return themes
|
||||
return [*os.scandir(os.path.join(CONF_DIR, "colorschemes")),
|
||||
*os.scandir(os.path.join(MODULE_DIR, "colorschemes"))]
|
||||
|
||||
|
||||
def terminal_sexy_to_wal(data):
|
||||
|
Loading…
Reference in New Issue
Block a user