Skip to content

ipc: update DankBar selection #1894

Merged
Purian23 merged 3 commits intomasterfrom
ipc-bar
Mar 3, 2026
Merged

ipc: update DankBar selection #1894
Purian23 merged 3 commits intomasterfrom
ipc-bar

Conversation

@LuckShiba
Copy link
Collaborator

Fixes IPC toggle (used in dash toggle or control-center toggle) bar selection by choosing the bar that has the desired widget (prioritizing the one in the current monitor, if multiple). Currently it was trying to get the first bar, which resulted in some possible breakages (in some systems, the toggle commands were not working at all).

Also updated dms ipc dash open to use the widget in the bar instead of spawning it standalone, fixed some wrong positioning issues.

As a future enhancement, some way to let the popouts still be able to be toggled when the user doesn't have a bar with the desired widget should be added.

@Purian23 Purian23 merged commit 847ddf7 into master Mar 3, 2026
2 checks passed
@LuckShiba LuckShiba deleted the ipc-bar branch March 3, 2026 03:11
bbedward pushed a commit that referenced this pull request Mar 10, 2026
* ipc: update DankBar selection

* ipc: use getPreferredBar in dash open

* ipc: don't toggle dash on dash open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants