[Newm] Get wallpaper from cache file

This commit is contained in:
2022-12-07 16:04:41 +01:00
parent 1c15014511
commit 36bfdfc6a8

View File

@@ -61,10 +61,11 @@ def on_startup():
) )
background = { with open("{}/.cache/wallpaper".format(os.environ["HOME"])) as file:
"path": os.environ["HOME"] + "/Pictures/Wallpapers/1561879941868.jpg", background = {
"path": file.read().strip(),
"anim": True, "anim": True,
} }
pywm = { pywm = {
"xkb_layout": "fr", "xkb_layout": "fr",