Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sysinfo): expose values as ironvars #874

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JakeStanger
Copy link
Owner

@JakeStanger JakeStanger commented Feb 23, 2025

This is the alternative idea in #142. Since the overhaul plus this now make it very easy to find which variables are available, I don't think the main suggestion in that issue is needed.

When a sys_info module is configured on the bar, a sysinfo namespace will appear in the Ironvar list.

The following are all valid:

ironbar var list
ironbar var list sysinfo
ironbar var list sysinfo.disk_percent
ironbar var get sysinfo.disk_percent./home
ironbar var get sysinfo.disk_percent.mean
ironbar var get sysinfo.memory_percent 

Resolves #142.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[sys info] Friendly 'smart' aliases for dynamic tokens
1 participant