Commit Graph
31 Commits
Author SHA1 Message Date
Lucas Vivo 69b39940b0 test(wallaper_changer): add tests modules
add tests for monitor_manager, wallpaper_builder, encryption_manager,
walpaper_Setter
2026-11-16 19:48:08 +01:00
Lucas Vivo 8669499c36 chore(wallpaper_changer): test assets: move image files to folder, add monitor.xml files 2026-11-16 19:48:08 +01:00
Lucas Vivo 9ddb167eb3 feat(wallpaper_changer): remove hosts, add cfg for headless mode and monitor file 2026-11-16 19:48:08 +01:00
Lucas Vivo 3c21820b3a chore(wallpaper_changer): add dependency for tests to test group 2026-11-16 19:48:08 +01:00
Lucas Vivo 2c7fe68b33 faet(wallaper_changer): filp ratio to with/height, add lid_state check, create parser functions
parse_monitor_config parses monitors.xml file and returns config struct
grm_to_gnome function tranlates card names
remove hostnames from algorithm
lid_state is processed by _connected_drm_connectors
2026-11-16 19:48:08 +01:00
Lucas Vivo 7ac877f018 feat(wallpaper_changer): replace shorter filenames of same hash, add raise error
raise error if naming table is missing
raise error if check_encription finds no folder
duplcate hashes take the longer filename from new image
2026-11-16 19:48:08 +01:00
Lucas Vivo 152a095f51 feat(wallpaper_changer): remove hostname, add headless and monitor_file to config
set default monitor_file
transfer headless arg to config struct
2026-11-16 19:48:08 +01:00
Lucas Vivo 9373e23592 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
2026-11-16 19:48:08 +01:00
Lucas Vivo 37014ac829 feat(wallpaper_changer): add search term for monitor and general search
monitor search term: one tem per monitor
gen search term_ multiple terms all filtering the same image
2026-11-16 19:48:08 +01:00
Lucas Vivo 69234da7cf style(wallpaper_changer): organize import 2026-11-16 19:48:08 +01:00
Lucas Vivo 25bf86a8ec chore(wallpaper_changer): add numpy and correct venv path 2026-11-16 19:48:08 +01:00
Lucas Vivo 3a50a94c17 feat(wallpaper_changer): image_repository, correct number series not starting with 1 2026-11-16 19:48:08 +01:00
Lucas Vivo 27f5dc644f feat(wallpaper_changer): wallpaper builder distinguish between left/right in image name
center images with left in their name from their left corner
center images with right in their name from their center
2026-11-16 19:48:08 +01:00
Lucas Vivo 5d5ca4a6d6 fix(wallpaper_changer): wallpaper bulder use correct dir, return image list 2026-11-16 19:48:08 +01:00
Lucas Vivo db1995c7b9 chore(wallpaper_changer): bump version to 0.1.1 2026-11-16 19:48:08 +01:00
Lucas Vivo ce7da99296 style(wallpaper_changer): fix Ruff linting and formatting issues
fix declarations to acommodate None
organize imports
fix with indents
2026-11-16 19:48:08 +01:00
Lucas Vivo 8c48239b77 feat(wallpaper_changer): move parser to module
move argparse to its own module
add options for print/encrypt/decrypt Namingtable, decode images/all
add conf_dir, private_key parameters
2026-11-16 19:48:07 +01:00
Lucas Vivo 4481664c0b test(wallpaper_changer): test image repository
test check_encryption
test convert_to_jpg
test scan folders
test decode_all
test decode_images
2026-11-16 19:48:07 +01:00
Lucas Vivo 6fb22a7582 test(wallpaper_changer): run config tests
check if conf file is written and read
check if cfg struct is set correctls
check correct private key
test versioning
2026-11-16 19:48:07 +01:00
Lucas Vivo 74c66ec88f test(wallpaper_changer): run unit and integration tests, integration test dir 2026-11-16 19:48:07 +01:00
Lucas Vivo 8801ee5153 feat(wallpaper_changer): add image hash, use conf_dir, scan dir parameter, move to src
add FileInfo class to store hash
use conf_dir instead of ~/Wallpaper
scan: opt scan dir as parameter
encode directly in confdir/New
skip adding images with same hash
add images with same name, change number only
add decode_image function to chack hash after decoding
2026-11-16 19:48:07 +01:00
Lucas Vivo 807d03f808 feat(wallpaper_changer): add image hash, move to src
decode and leave: decrypt file instead of saving loaded image
add conf_dir instead of ~/Wallpaper
add decode_image function instead of decrypting directly
2026-11-16 19:48:07 +01:00
Lucas Vivo 24292a3d01 feat(wallpaper_changer): add logging, move to src
move file to sorc dir
add logging for all modules
2026-11-13 10:48:03 +01:00
Lucas Vivo 057f3101bf feat(wallpaper_changer): add FileInfo class, remove overloading of decript func, move to src
add FIleInfo class for naming_table entries
remove overloading of decrypt function, return None instead
2026-11-13 10:46:07 +01:00
Lucas Vivo ba81e01fee feat(wallpaper_changer): ignore hostname in config, set conf dir from argument, move to src
extra parameters for wallpaper_dir, conf_dir and private key
move file to new src dir
2026-11-13 10:46:07 +01:00
Lucas Vivo 2dc2483c04 feat(wallpaper_changer): argparse: add version, config_dir, temp_dir(wallpapers), move to src
add mode which determines wallpaper folder
add conf_dir where wallpaper/wp.conf etc are located
move all files to new src dir
2026-11-13 10:46:07 +01:00
Lucas Vivo f8aa8a73d1 chore(wallpaper_changer): delete unneeded modules, move init to src
move deamon file
2026-11-13 10:46:07 +01:00
Lucas Vivo 4d8d20c6d9 chore(wallpaper_changer): test assets
private key for testing
images for testing
2026-11-13 10:37:10 +01:00
Lucas Vivo d09706f3be chore(wallpaper_changer): project documents 2026-11-13 10:36:35 +01:00
Lucas Vivo 3aa90fa629 chore(wallpaper_changer): add vscode project settings 2026-11-13 10:35:59 +01:00
Lucas Vivo 968d007954 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.
2026-11-09 20:09:12 +01:00