mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[PR #1127] [MERGED] feat(ipc): commands for controlling css class names #9595
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#9595
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/1127
Author: @JakeStanger
Created: 8/25/2025
Status: ✅ Merged
Merged: 8/25/2025
Merged by: @JakeStanger
Base:
master← Head:feat/ipc-style📝 Commits (1)
0d8ec47feat(ipc): commands for controlling css class names📊 Changes
8 files changed (+272 additions, -48 deletions)
View changed files
📝
docs/Controlling Ironbar.md(+61 -13)📝
src/bar.rs(+53 -12)📝
src/config/mod.rs(+2 -2)📝
src/ipc/commands.rs(+42 -7)📝
src/ipc/server/bar.rs(+2 -2)📝
src/ipc/server/mod.rs(+2 -9)➕
src/ipc/server/style.rs(+96 -0)📝
src/modules/mod.rs(+14 -3)📄 Description
Three new commands have been added, under a new
stylesubcommand:add_classremove_classtoggle_classThese extend the scripting capabilities, allowing styles to be externally controlled. This potentially pairs well with the extended ironvar system, for example by watching
ironbar var list sysinfo.cpu_percenta class could be added when reaching a defined threshold.BREAKING CHANGE: The
load-csscommand has been moved to thestylesubcommand (ieironbar style load-css).Resolves #516
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.