mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-09 15:38:30 +01:00
general: Fixed invoking pywal from hotkey. Closes #219
This commit is contained in:
parent
086f418648
commit
b649563eba
@ -160,7 +160,10 @@ def process_args(args):
|
||||
wallpaper.change(colors_plain["wallpaper"])
|
||||
|
||||
sequences.send(colors_plain, to_send=not args.s)
|
||||
|
||||
if sys.stdout.isatty():
|
||||
colors.palette()
|
||||
|
||||
export.every(colors_plain)
|
||||
|
||||
if not args.e:
|
||||
|
@ -25,7 +25,7 @@ def gen_colors(img):
|
||||
if len(raw_colors) >= 8:
|
||||
break
|
||||
|
||||
elif i == 19:
|
||||
elif i == 10:
|
||||
logging.error("ColorThief couldn't generate a suitable palette.")
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user