mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[PR #1482] [MERGED] fix(volume): default sink/source incorrectly switching #5615
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#5615
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/1482
Author: @JakeStanger
Created: 5/9/2026
Status: ✅ Merged
Merged: 5/9/2026
Merged by: @JakeStanger
Base:
master← Head:fix/volume-defaults📝 Commits (1)
5ef0d39fix(volume): default sink/source incorrectly switching📊 Changes
6 files changed (+85 additions, -107 deletions)
View changed files
📝
src/clients/volume/mod.rs(+11 -29)📝
src/clients/volume/sink.rs(+7 -18)📝
src/clients/volume/sink_input.rs(+1 -12)📝
src/clients/volume/source.rs(+6 -18)📝
src/clients/volume/source_output.rs(+1 -12)📝
src/modules/volume/mod.rs(+59 -18)📄 Description
The default sink and source were incorrectly tracked before, relying on their status. This did not always line up with the actual default, as there can be more than one running device at a time.
This replaces the old system with one that tracks the default directly from the server, rather than per-object.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.