Commit Graph
52 Commits
Author SHA1 Message Date
Lucas Vivo dcddaf0f79 chore(wallpaper_changer): add wallpaper_changer service file 2026-11-20 15:58:04 +01:00
Lucas Vivo db4a293a6d test(wallpaper_changer): test config 2026-11-20 15:58:04 +01:00
Lucas Vivo ba5fbac806 feat(wallpaper_changer): clear -x from wp.conf
add method to config moule to clear -x from general config file
2026-11-20 15:58:04 +01:00
Lucas Vivo 0989ced202 test(wallapaper_changer): test daemon and wallpaper_changer 2026-11-20 15:58:04 +01:00
Lucas Vivo 15a1fddab3 feat(wallpaper_changer): add daemon mode
move several args variables to config
add Wallpaper_changer module with change_wallpaper func
add daemon module calling change_wallpaper in a loop
2026-11-20 15:58:04 +01:00
Lucas Vivo 0a691c49f6 chore(wallpaper_changer): add test asset 2026-11-20 15:58:04 +01:00
Lucas Vivo 048654f238 test(wallpaper_manager): all tests done
added image_repository tests
moved decode_all test to iamge_repository
2026-11-20 15:58:04 +01:00
Lucas Vivo 6743772c33 feat(wallpaper_changer): decode_all should decode lonley jpg_enc with default name 2026-11-20 15:58:04 +01:00
Lucas Vivo 6db5fb528e style(wallpaper_changer): refactoring and default values 2026-11-20 15:58:04 +01:00
Lucas Vivo 4792a47c25 fix(wallpaper_changer): main would trigger encryption on any folder argument
it should only encrypt with mode != default
2026-11-20 15:58:04 +01:00
Lucas Vivo 9b4bf7422a style(wallpaper_changer): ruff auto changes 2026-11-20 15:58:04 +01:00
Lucas Vivo 9f73b601e8 test(wallpaper_changer): add config, wallpaper_builder, wallpaper_setter test cases 2026-11-20 15:58:04 +01:00
Lucas Vivo e079a08d14 feat(wallpaper_changer): remove DOUBLE as identifier for duplcate filenames
available_path() function also continues numbering
2026-11-20 15:58:04 +01:00
Lucas Vivo 49fbc0a6ad feat(wallpaper_changer): add CUstomArgPArser to raise ValueError on false argument 2026-11-20 15:58:04 +01:00
Lucas Vivo 1667362b9d style(wallpaper_changer): ruff auto fix 2026-11-20 15:58:04 +01:00
Lucas Vivo 79b3bdd91f chore(wallpaper_changer): ruff settings 2026-11-20 15:58:04 +01:00
Lucas Vivo 9f18d2975d style(wallpaper_changer): ruff auto fix 2026-11-20 15:58:04 +01:00
Lucas Vivo 50467b8565 test(wallpaper_changer): remove test requiring physical monitor 2026-11-20 15:58:04 +01:00
Lucas Vivo f14cd89d7c test(wallpaper_changer): remove test description 2026-11-20 15:58:04 +01:00
Lucas Vivo d3561978fe test(wallpaper_changer): test behaviour for duplicate hashs 2026-11-20 15:58:04 +01:00
Lucas Vivo dcbf8c8be0 fix(wallaper_changer): remove hostname 2026-11-20 15:58:04 +01:00
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