mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[PR #236] [MERGED] [Feature] Add basic bar visibility change to IPC #7593
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#7593
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/236
Author: @A-Cloud-Ninja
Created: 7/12/2023
Status: ✅ Merged
Merged: 7/16/2023
Merged by: @JakeStanger
Base:
master← Head:master📝 Commits (1)
2ccb263feat: IPC for get_visible, set_visible, new barnameconfig 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_visibleIPC command which takes a booleanvisibilityand stringbar_namefields.Simultaneously adds a new config
nameoption 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
testwill 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.