feat(wallpaper_changer): add argument for monitor search term, remove old monitor cfg

remove cfg number for monitor file, headless move requires normal
monitors.xml
This commit is contained in:
Lucas Vivo committed 2026-11-15 19:46:59 +01:00
1 parent 790267bbb5
commit 8fa1657381
1 file changed
+8 -2
@@ -33,6 +33,7 @@ def build_parser() -> ArgumentParser:
help="Run in daemon mode and change wallpaper every N minutes",
)
parser.add_argument("-s", "--search", nargs="+", help="Search parameters")
parser.add_argument( "--search-mon", nargs="+", help="Search parameters per monitor")
parser.add_argument(
"-ex",
"--exclude",
@@ -61,9 +62,10 @@ def build_parser() -> ArgumentParser:
)
parser.add_argument("-times", type=int, default=1, help="Change wallpaper N times")
parser.add_argument(
"-mon", "--monitor-config", type=int, default=0, help="Use monitors<N>.cfg"
"--monitor-file",
type=str,
help="Select a path to a monitors.xml file",
)
parser.add_argument("-screen", help="Override screen size")
parser.add_argument(
"-td",
"--temp-dir",
@@ -131,6 +133,10 @@ def build_parser() -> ArgumentParser:
parser.add_argument(
"-dec-all", "--decode-all", action="store_true", help="Decrypt all images"
)
parser.add_argument(
"--headless", action="store_true", help="Run in headless mode"
)
parser.add_argument(
"-dec-arg",
"--decode-argument",