diff --git a/.config/newm/config.py b/.config/newm/config.py index 8f2f09d..05eede3 100644 --- a/.config/newm/config.py +++ b/.config/newm/config.py @@ -61,9 +61,9 @@ def on_startup(): ) -with open("{}/.cache/wallpaper".format(os.environ["HOME"])) as file: +with open("{}/.cache/wallpaper".format(os.environ["HOME"])) as wp_cache: background = { - "path": file.read().strip(), + "path": wp_cache.read().strip(), "anim": True, }