Git Product home page Git Product logo

Comments (5)

oberon227 avatar oberon227 commented on August 18, 2024 3

That looks good!

To keep with the "recommendation" nature of the rest of the tool, I'd suggest putting a whole example export XDG_CONFIG_HOME=$HOME/.config on that second line after the arrow, and maybe the recommended file to put them in. (I think I'm discovering that's .bash_profile, or .xinitrc)

from xdg-ninja.

b3nj5m1n avatar b3nj5m1n commented on August 18, 2024

I think most people using this tool are probably explicitly exporting the XDG vars, so I'm not sure how useful this would be.

A user on reddit already suggested emitting a warning when running the script and the XDG vars aren't set properly, and I think that's probably a better solution, since the approach you suggested would require lots of manual changes.

Let me know what you think!

from xdg-ninja.

oberon227 avatar oberon227 commented on August 18, 2024

Came here to say: Love the tool, but was left a little clueless as to what $XDG_CONFIG_HOME was supposed to be.

So emitting a warning when XDG vars aren't set, and providing a link to what they should be (or just letting us know what they should be) would be quite helpful. Because I'm not (yet) explicitly exporting the XDG vars.

Thank you so much for doing this! 🥇

from xdg-ninja.

b3nj5m1n avatar b3nj5m1n commented on August 18, 2024

I added this in 1b21756.

Would be great if you could try it out and give me some feedback!

from xdg-ninja.

b3nj5m1n avatar b3nj5m1n commented on August 18, 2024

I think we can close this since we detect if the variables are not set.

If you disagree, feel free to reopen.

from xdg-ninja.

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.