[Newm] Get wallpaper from cache file

This commit is contained in:
Lucien Cartier-Tilet 2022-12-07 16:04:41 +01:00
parent 1c15014511
commit 36bfdfc6a8
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

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 = {
"anim": True, "path": file.read().strip(),
} "anim": True,
}
pywm = { pywm = {
"xkb_layout": "fr", "xkb_layout": "fr",