feat(wallpaper-changer.py): add modular Python port
Introduce a Python CLI for selecting, processing, and setting wallpapers, including encrypted image and naming-table workflows, monitor-aware image composition, search and exclusion filters, and migration and usage notes. Module guide: - main.py: validates command combinations and coordinates configuration, encryption commands, image processing, monitor detection, wallpaper composition, and GNOME wallpaper setting. - wallpaper_changer/__init__.py: marks the application package. - wallpaper_changer/argument_parser.py: defines CLI options and merges command-line arguments with arguments loaded from the config file. - wallpaper_changer/config.py: loads host-specific image, wallpaper, and private-key settings. - wallpaper_changer/encryption_manager.py: reads and writes legacy OpenSSL encrypted files and loads, stores, encrypts, or decrypts naming tables. - wallpaper_changer/image_repository.py: scans and converts images, manages encrypted images and naming-table entries, and handles image decoding and sequential filename correction. - wallpaper_changer/logging_utils.py: configures and retrieves the project's custom logger. - wallpaper_changer/monitor_manager.py: discovers monitor layouts from DRM data or host configuration files. - wallpaper_changer/naming_table.py: loads legacy plaintext naming-table entries. - wallpaper_changer/wallpaper_builder.py: filters and selects images, decrypts as needed, and composes a labeled multi-monitor wallpaper. - wallpaper_changer/wallpaper_setter.py: sets GNOME background settings using gsettings.
This commit is contained in:
1 parent
1100f058e6
commit
d8f9ac5513
16 files changed
+1339
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"python.defaultInterpreterPath": "/home/lucas/scripts/.venv/bin/python",
|
||||
"python-envs.pythonProjects": [
|
||||
{
|
||||
"path": "main.py",
|
||||
"envManager": "ms-python.python:venv",
|
||||
"packageManager": "ms-python.python:pip"
|
||||
}
|
||||
],
|
||||
"editor.tabSize": 4,
|
||||
"editor.insertSpaces": true,
|
||||
"editor.detectIndentation": false
|
||||
}
|
||||
Reference in new issue
Block a user