Giter VIP home page Giter VIP logo

Comments (9)

grtcdr avatar grtcdr commented on May 26, 2024

Oh, lovely idea.

Although this could be used in an improper way and may slow the program down, it's entirely dependent on the use case and the user probably knows this as well.

I can't promise this'll come out any time soon, though, because I'm not able to gauge how much time is required to deliver such a feature. And, it's not exactly top priority as there are bugs within the program I need to hunt and fix.

from macchina.

eoli3n avatar eoli3n commented on May 26, 2024

Yep, it's a bit hacking your tool, but I think this ability would please many users and open to different use cases.
Thanks for your anwser ;)

from macchina.

grtcdr avatar grtcdr commented on May 26, 2024

but I think this ability would please many users and open to different use cases.

Yeah I can see how helpful this might be to someone who may want to fetch something like their public IP or packages that need to upgraded like you mentioned.

from macchina.

grtcdr avatar grtcdr commented on May 26, 2024

Hey 😃 I'm back,

I'm thinking we do this in a separate file, specifically a JSON file.

I'm not sure how I'd be able to do this using JSON.

from macchina.

eoli3n avatar eoli3n commented on May 26, 2024

I would prefer YAML, if a human edit this manually.
JSON is better to transfer data and not really human readable.

from macchina.

eoli3n avatar eoli3n commented on May 26, 2024

anything about this one ?

from macchina.

grtcdr avatar grtcdr commented on May 26, 2024

I haven't had the chance to work on this, but I did mess around with a few implementations (nothing serious, though). Something like this would require the codebase to be refactored in a way that allows custom readouts to be merged with the built-in ones.

from macchina.

 avatar commented on May 26, 2024

For a basic implementation, you could maybe do something like this, and reserve custom_XX keys for custom user data.

[keys]
host            = "Host"
kernel          = "Kernel"
custom_01       = "Some Title"

[custom_01]
command         = "xbps-query -Mnu | wc -l"
if_empty        = "No data to show"
show_if_empty   = true

from macchina.

grtcdr avatar grtcdr commented on May 26, 2024

Hey @0x199x,

That's one fine way we could go about it, but I unfortunately don't have the time to work on this - I just have too much going on at the moment, as my focus has been slowly shifting towards working on entirely different personal projects.

I'm open to accepting a PR that extends macchina with this feature, whilst simultaneously considering its integration with user-created themes.

from macchina.

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.