mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 11:24:03 +01:00
-b: Error handling.
This commit is contained in:
parent
008c70cb8b
commit
4a45aac956
@ -124,6 +124,7 @@ def process_args(args):
|
||||
colors_plain = colors.file(args.f)
|
||||
|
||||
if args.b:
|
||||
args.b = "#%s" % (args.b.strip("#"))
|
||||
colors_plain["special"]["background"] = args.b
|
||||
colors_plain["colors"]["color0"] = args.b
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user