Coder Social home page Coder Social logo

Comments (6)

phillipberndt avatar phillipberndt commented on May 24, 2024

but multiple scripts in the home directory complement each other

I'm not sure I can follow. Can you give an example?

Or do you mean that you find it unintuitive that e.g. ~/.config/autorandr/postswitch is only executed if ~/.config/autorandr/<profile>/postswitch does not exist? If that's the case, note that ~/.config/autorandr/postswitch.d/some_name would still be executed even if a profile-specific postswitch handler exists, unless the profile also has a some_name script.

from autorandr.

timokau avatar timokau commented on May 24, 2024

Yes, that is exactly what my confusion was about.

Okay that would be a fine workaround then, thanks. I still think executing <profile>/postswitch and ./postswitch would be the "better" way to handle this, but that's your call of course.

from autorandr.

phillipberndt avatar phillipberndt commented on May 24, 2024

I still think executing <profile>/postswitch and ./postswitch would be the "better" way to handle this, but that's your call of course.

In retrospect, I agree. But that's nothing I could change without doing a major version bump.

I'll leave this open as a reminder to improve documentation.

from autorandr.

timokau avatar timokau commented on May 24, 2024

Oh yeah you're right, that would be a breaking change. Thanks for clearing it up and explaining the workaround.

Do you want me to do a PR for the documentation, or do you want to do it yourself?

from autorandr.

phillipberndt avatar phillipberndt commented on May 24, 2024

Do you want me to do a PR for the documentation, or do you want to do it yourself?

If you'd be willing to do that that would be awesome (make sure to add yourself to the contributors list :)) If you're not, that's not a problem at all, I'll come around to improve the documentation myself in a couple of days.

from autorandr.

timokau avatar timokau commented on May 24, 2024

I'll gladly do that, I'm happy if I can help after all the support I received from you :)

from autorandr.

Related Issues (20)

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.