mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-11-22 07:22:19 +03:00
feat: add background color option
This commit is contained in:
parent
e365841470
commit
f924346097
@ -53,7 +53,7 @@ def change_wallpaper(image_path: Path, cf: Config, monitor: str, txt: Chinese|En
|
||||
fill = fill_types[cf.fill_option.lower()]
|
||||
|
||||
command = ["mpvpaper"]
|
||||
command.extend(["-o", f"no-audio loop {fill}"])
|
||||
command.extend(["-o", f"no-audio loop {fill} --background-color='{cf.color}'"])
|
||||
# if monitor != "All":
|
||||
# command.extend([monitor])
|
||||
# else:
|
||||
|
Loading…
Reference in New Issue
Block a user