mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
[GH-ISSUE #1102] New scripts get spawned on each config reload #5966
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#5966
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?
Originally created by @postsolar on GitHub (Aug 1, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1102
Describe the bug
New scripts get spawned on each ironbar reload.
To reproduce
Steps to reproduce the behavior:
scriptFor example:
ironbar reloada few timesExpected behavior
Either reuse the previous instance upon reload and don't create new ones, or kill it before spawning the new one.
System information:
106e23e311Configuration
Config
Styles
Additional context
Screenshots
@JakeStanger commented on GitHub (Aug 4, 2025):
I suspect the play here is that running script handles need to be stored somewhere (possibly just against the Ironbar global), and some sort of reload signal needs to be sent that kills all the processes.
Re-attaching might be possible but trickier, as a config reload means it won't be a 1:1 mapping between processes. I guess if processes were hashed against their command it wouldn't be difficult to diff them.