[PR #236] [MERGED] [Feature] Add basic bar visibility change to IPC #6188

Closed
opened 2026-05-23 01:55:25 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/236
Author: @A-Cloud-Ninja
Created: 7/12/2023
Status: Merged
Merged: 7/16/2023
Merged by: @JakeStanger

Base: masterHead: master


📝 Commits (1)

  • 2ccb263 feat: IPC for get_visible, set_visible, new bar name config option

📊 Changes

6 files changed (+93 additions, -15 deletions)

View changed files

📝 docs/Configuration guide.md (+16 -15)
📝 docs/Controlling Ironbar.md (+27 -0)
📝 src/bar.rs (+7 -0)
📝 src/config/mod.rs (+2 -0)
📝 src/ipc/commands.rs (+14 -0)
📝 src/ipc/server.rs (+27 -0)

📄 Description

Adds a set_visible IPC command which takes a boolean visibility and string bar_name fields.
Simultaneously adds a new config name option to name each bar individually (defaults to the monitor name)

Behavior as-is will show/hide every bar with a given name. e.g, 2 bars both with the name test will be shown/hidden if we pass
{"type":"set_visible","visible"=true,bar_name="test"}


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/236 **Author:** [@A-Cloud-Ninja](https://github.com/A-Cloud-Ninja) **Created:** 7/12/2023 **Status:** ✅ Merged **Merged:** 7/16/2023 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2ccb263`](https://github.com/JakeStanger/ironbar/commit/2ccb2633c6c4d7f6eb264a6c49951853b728c9f3) feat: IPC for get_visible, set_visible, new bar `name` config option ### 📊 Changes **6 files changed** (+93 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `docs/Configuration guide.md` (+16 -15) 📝 `docs/Controlling Ironbar.md` (+27 -0) 📝 `src/bar.rs` (+7 -0) 📝 `src/config/mod.rs` (+2 -0) 📝 `src/ipc/commands.rs` (+14 -0) 📝 `src/ipc/server.rs` (+27 -0) </details> ### 📄 Description Adds a `set_visible` IPC command which takes a boolean `visibility` and string `bar_name` fields. Simultaneously adds a new config `name` option to name each bar individually (defaults to the monitor name) Behavior as-is will show/hide *every* bar with a given name. e.g, 2 bars both with the name `test` will be shown/hidden if we pass `{"type":"set_visible","visible"=true,bar_name="test"}` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 01:55:25 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#6188
No description provided.