mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[PR #874] [MERGED] feat(sysinfo): expose values as ironvars #6632
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#6632
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/ironbar/pull/874
Author: @JakeStanger
Created: 2/23/2025
Status: ✅ Merged
Merged: 3/3/2025
Merged by: @JakeStanger
Base:
master← Head:feat/sysinfo-ironvar📝 Commits (1)
b83f26cfeat(sysinfo): expose values as ironvars📊 Changes
13 files changed (+410 additions, -152 deletions)
View changed files
📝
docs/Ironvars.md(+16 -1)📝
src/clients/mod.rs(+6 -2)📝
src/clients/sysinfo.rs(+228 -1)📝
src/dynamic_value/dynamic_bool.rs(+1 -1)📝
src/dynamic_value/dynamic_string.rs(+1 -1)📝
src/ipc/commands.rs(+1 -1)📝
src/ipc/server/ironvar.rs(+46 -9)📝
src/ironvar.rs(+99 -32)📝
src/main.rs(+5 -7)📝
src/modules/sysinfo/mod.rs(+2 -1)📝
src/modules/sysinfo/parser.rs(+2 -58)📝
src/modules/sysinfo/renderer.rs(+2 -2)📝
src/modules/sysinfo/token.rs(+1 -36)📄 Description
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_infomodule is configured on the bar, asysinfonamespace will appear in the Ironvar list.The following are all valid:
Resolves #142.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.