GithubHelp home page GithubHelp logo

Comments (7)

ckardaris avatar ckardaris commented on June 11, 2024 1

Fair enough. Another issue is that ucollage does not expand the directory recursively. Instead it only expands the first level, if y is pressed. I should probably look to make that better.

from ucollage.

ckardaris avatar ckardaris commented on June 11, 2024

This makes sense. I will make the necessary modifications.

In any case, though, if you find yourself pressing Y or N a lot, a better option would be to set the UCOLLAGE_EXPAND_DIRS to 1 or 0 respectively.

from ucollage.

766F6964 avatar 766F6964 commented on June 11, 2024

This makes sense. I will make the necessary modifications.

In any case, though, if you find yourself pressing Y or N a lot, a better option would be to set the UCOLLAGE_EXPAND_DIRS to 1 or 0 respectively.

That is true, but I would not want this to be a global option, but rather something that can be decided on a per-directory basis.
Sometimes I might want ucollage to search recursively, and sometimes not. I wouldn't want to always have to set/unset UCOLLAGE_EXPAND_DIRS when I change my mind, but rather quickly decide on startup with Y/N etc ..

from ucollage.

766F6964 avatar 766F6964 commented on June 11, 2024

Any updates on this?

from ucollage.

ckardaris avatar ckardaris commented on June 11, 2024

Any updates on this?

Hey, I pushed some changes. I hope it is okay now

from ucollage.

766F6964 avatar 766F6964 commented on June 11, 2024

@ckardaris Definitely an improvement. However, I did notice some weird behavior, not sure if that is intended or not:

It doesn't seem that ucollage recursively looks through all sub-directories of the current directory.
If the current directory Pictures has two sub-directories Wallpapers and Screenshots, running ucollage with Y in the Pictures directory works as expected, - it shows the images from both directories.

However, running the same command from the home directory, which contains the Pictures directory, those images are not listed anymore. My guess is, that is because ucollage doesn't truly use recursion to check all sub-directories, - or stops at a certain depth?

from ucollage.

ckardaris avatar ckardaris commented on June 11, 2024

Yeah I thought a bit about recursive expansion. It needs some more thinking, so I will probably include it in a future release.

The reason I have not yet implemented it, is because I have in the back of my mind another idea. That is to create something like vim buffers. One for every directory the the user specifies. So files from different directories would never be seen together, but they would be accesible in a fast way from within the ucollage UI. What are your thoughts regarding that? Would it be something that you would use? Would you prefer it from having all images in a single view?

from ucollage.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.