mczachurski / wallpapper

:computer: Console application for creating dynamic wallpapers for macOS Mojave and newer
MIT License
3.32k stars 137 forks source link

Use PNG files from the current shell directory #58

Closed iiKurt closed 2 years ago

iiKurt commented 2 years ago

Instead of using PNG files relative to the JSON file passed in as an argument, use PNG files that are in the current shell directory.

This is useful if we want to cd to different directories and apply the same JSON to them. Without this change, we would need to have a multiple copies of the same JSON file.

mczachurski commented 2 years ago

I understand that you have one JSON file and multiple directories with images. And somehow one JSON is correct for all images in your directories. But I think, that your workflow is very specific. In most cases dynamic wallpapers will be taken in different weather conditions (sun positions) different time etc. Thus in most cases people have to prepare separate JSON files for each specific image sets.

iiKurt commented 2 years ago

I suppose my workflow is a bit specific. For my one wallpaper, I split it into 3 parts, so I have 3 folders for each of my three screens. Within each folder are the set of input PNGs that are compiled into a HEIC for each monitor. I was inspired to make the change so I could have each monitor have the same time configuration/JSON file.