mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-08-16 19:50:46 +03:00
parent
112702c0b5
commit
58e95ba2f1
@ -91,7 +91,7 @@ def change_wallpaper(image_path, cf, monitor, txt):
|
||||
if cf.post_command:
|
||||
modified_image_path = image_path.replace(" ", "\\ ")
|
||||
post_command = cf.post_command.replace("$wallpaper", modified_image_path)
|
||||
subprocess.Popen(post_command, shell=True).wait()
|
||||
subprocess.Popen(post_command, shell=True)
|
||||
print(f'Post command {post_command} executed')
|
||||
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user