[Newm] Get wallpaper from cache file
This commit is contained in:
parent
1c15014511
commit
36bfdfc6a8
@ -61,10 +61,11 @@ def on_startup():
|
||||
)
|
||||
|
||||
|
||||
background = {
|
||||
"path": os.environ["HOME"] + "/Pictures/Wallpapers/1561879941868.jpg",
|
||||
"anim": True,
|
||||
}
|
||||
with open("{}/.cache/wallpaper".format(os.environ["HOME"])) as file:
|
||||
background = {
|
||||
"path": file.read().strip(),
|
||||
"anim": True,
|
||||
}
|
||||
|
||||
pywm = {
|
||||
"xkb_layout": "fr",
|
||||
|
Loading…
Reference in New Issue
Block a user