Merge pull request #90 from darth62969/main

Fixed Issue with CMD Support for Multi-Monitor using state files.
This commit is contained in:
Roman 2024-10-23 07:29:06 +09:00 committed by GitHub
commit 160e88e532
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,6 +123,7 @@ class Config:
self.image_folder = pathlib.Path(image_folder_str).expanduser()
if monitors_str:
self.monitors = [str(monitor) for monitor in monitors_str.split(",")]
self.selected_monitor = self.monitors[0]
if wallpapers_str:
self.wallpapers = [pathlib.Path(paper).expanduser() for paper in wallpapers_str.split(",")]