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.
708 B
708 B
Generated migration starter from WallpaperChanger.sh. Implements monitor detection, image scanning, openssl wrapper, naming table loader, wallpaper builder and GNOME setter.
Use --disable-encryption to build a wallpaper from a folder without encrypting files or decrypting images or the naming table. Encrypted image payloads are skipped; .jpg_enc files are included only when they contain plain JPEG data.
Encrypt or decrypt the fixed naming-table files in the selected image folder:
wallpaperchanger --encryptNT
wallpaperchanger --decryptNT
--encryptNT reads naming_table.dec and writes naming_table_enc.txt; --decryptNT reads naming_table_enc.txt and writes naming_table.dec.