diff options
Diffstat (limited to 'pywal/__main__.py')
| -rw-r--r-- | pywal/__main__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pywal/__main__.py b/pywal/__main__.py index 0af4df6..566ff95 100644 --- a/pywal/__main__.py +++ b/pywal/__main__.py @@ -29,6 +29,10 @@ def get_args(): description = "wal - Generate colorschemes on the fly" arg = argparse.ArgumentParser(description=description) + arg.add_argument("-a", metavar="\"alpha\"", + help="Set terminal background transparency. \ + *Only works in URxvt*") + arg.add_argument("-c", action="store_true", help="Delete all cached colorschemes.") @@ -86,6 +90,9 @@ def process_args(args): if args.r: reload.colors(args.t) + if args.a: + util.Color.alpha_num = args.a + if args.i: image_file = image.get(args.i) colors_plain = colors.get(image_file, notify=not args.q) |
