Removing wait in post command

This tries to address #37
This commit is contained in:
Roman 2024-03-04 08:41:18 +01:00
parent 112702c0b5
commit 58e95ba2f1

View File

@ -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: