From 9017ccf4ef3583b254aff901ff7bd3299a9006f2 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Tue, 10 Jan 2023 12:23:09 +0100 Subject: [PATCH] [Newm] Avoid name collision in config --- .config/newm/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }