Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Option to load image sorted by modified date #6

Closed
KevCui opened this issue Oct 7, 2020 · 4 comments
Closed

[Feature request] Option to load image sorted by modified date #6

KevCui opened this issue Oct 7, 2020 · 4 comments
Assignees

Comments

@KevCui
Copy link
Contributor

KevCui commented Oct 7, 2020

Using ucollage to open all images in a folder, the current behavior is to load all images sorted alphabetically by file name. It would be great to have another option to sort files by modified date, the most recent modified one showing at the first place.

@ckardaris
Copy link
Owner

We could do something like

filelist=($(ls -c "$@"))

@ckardaris
Copy link
Owner

ckardaris commented Oct 7, 2020

@KevCui Do you want to work on this?

@KevCui
Copy link
Contributor Author

KevCui commented Oct 7, 2020

@ckardaris Sure, I'll try, but not promise that it will be done soon 🙂

@ckardaris
Copy link
Owner

Ok, we should have an exported variable UCOLLAGE_SORT with accepted values {name, time and anything else}
You should modify the README at the end and the relevant parts in functions parse_config and set_defaults

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants