diff --git a/pywal/__main__.py b/pywal/__main__.py index 0be6cc8..a816360 100644 --- a/pywal/__main__.py +++ b/pywal/__main__.py @@ -98,6 +98,7 @@ def process_args(args): # If wallpaper is unset, set it to "None" if "wallpaper" not in colors_plain: colors_plain["wallpaper"] = "None" + args.n = True # -i or -f if args.i or args.f: diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index 5e524a3..59f1aeb 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -82,9 +82,6 @@ def set_desktop_wallpaper(desktop, img): def set_wallpaper(img): """Set the wallpaper.""" - if not os.path.isfile(img): - return - desktop = get_desktop_env() if desktop: