You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
I thought it would be important to be able to sort images on the fly.
I'm proposing the following approach:
Provide a command that would provide a script the current list of images being handled as a list of newline separated absolute paths to the its stdin and read back the modified list on the its stdout.
For example, the following script would eliminate non-existent files:
#! /bin/dash
xargs ls -1d 2> /dev/null
And this script would sort files by size:
#! /bin/dash
xargs ls -1dS
The text was updated successfully, but these errors were encountered:
I don't have enough time. And I don't consider sorting images on the fly an important feature, which should be included in a suckless image viewer. If you want images to be sorted by file size, then you can start another instance of sxiv with the appropriate order of its file arguments.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I thought it would be important to be able to sort images on the fly.
I'm proposing the following approach:
Provide a command that would provide a script the current list of images being handled as a list of newline separated absolute paths to the its stdin and read back the modified list on the its stdout.
For example, the following script would eliminate non-existent files:
And this script would sort files by size:
The text was updated successfully, but these errors were encountered: