From f9243460979cbccec4363ec57e1b215d4917df86 Mon Sep 17 00:00:00 2001 From: "Kritagya Bhattarai (CalfMoon)" Date: Sat, 12 Oct 2024 22:06:05 +0545 Subject: [PATCH] feat: add background color option --- waypaper/changer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waypaper/changer.py b/waypaper/changer.py index aa4be92..74ee6a3 100644 --- a/waypaper/changer.py +++ b/waypaper/changer.py @@ -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: