Comments (9)
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.
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.
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.
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.
I would prefer YAML, if a human edit this manually.
JSON is better to transfer data and not really human readable.
from macchina.
anything about this one ?
from macchina.
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.
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.
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)
- [BUG] WSL2 openSUSE Tumbleweed zypper packages didn't show up HOT 4
- [Feature Request] More standard and versioned release artifacts on github
- Accept disk path(s) to display usage of specified disk / multiple disks
- [BUG] Build failed with libgit2 1.6.4 on Arch Linux HOT 2
- [BUG] Fails to build with ratatui HOT 2
- [BUG] Add Debian point releases from /etc/debian_version HOT 2
- [New Distro] - Amazon Linux HOT 1
- Display aarch64 CPU info HOT 3
- [BUG] macOS Sonoma is shown as 'macOS 14.0.0 Unknown' HOT 10
- Does Macchina support two batteries? HOT 3
- [BUG] error[E0432]: unresolved imports `vergen::Config`, `vergen::ShaKind`, error[E0425]: cannot find function `vergen` in crate `vergen` HOT 1
- [BUG] Macchina errors for me when using the provided macchina.toml HOT 2
- -o isn't working properly HOT 5
- Wrong battery value on MacOS HOT 9
- CPU Load value greater than 100% on MacOS HOT 12
- [BUG] install failure (build and cargo run works just fine, however) HOT 2
- [Feature Request] Image support like Neofetch. HOT 1
- [BUG] version `GLIBC_2.33' not found HOT 5
- [BUG] no themes installed and no configs is found HOT 1
- [FEATURE] Palette spacing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macchina.