summaryrefslogtreecommitdiff
path: root/pywal/__main__.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-02-02 19:32:30 +1100
committerDylan Araps <dylan.araps@gmail.com>2018-02-02 19:32:30 +1100
commit69604342a15066b3c7db09b0d2618fe415b871c0 (patch)
tree47eec7ca302606d85be9883d1af955e102850fcb /pywal/__main__.py
parent059eeecfcd368b3a416331a68561e8af44064f23 (diff)
colors: Add light theme support.
Diffstat (limited to 'pywal/__main__.py')
-rw-r--r--pywal/__main__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pywal/__main__.py b/pywal/__main__.py
index 283b47f..867e7cb 100644
--- a/pywal/__main__.py
+++ b/pywal/__main__.py
@@ -48,6 +48,9 @@ def get_args(args):
arg.add_argument("-g", action="store_true",
help="Generate an oomox theme.")
+ arg.add_argument("-l", action="store_true",
+ help="Generate a light colorscheme.")
+
arg.add_argument("-n", action="store_true",
help="Skip setting the wallpaper.")
@@ -118,7 +121,7 @@ def process_args(args):
if args.i:
image_file = image.get(args.i)
- colors_plain = colors.get(image_file, notify=not args.q)
+ colors_plain = colors.get(image_file, light=args.l, notify=not args.q)
if args.f:
colors_plain = colors.file(args.f)