[PR #959] Add support to change the volume scrolling on the volume icon #3878

Open
opened 2026-05-22 23:57:04 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/959
Author: @tglman
Created: 5/6/2025
Status: 🔄 Open

Base: masterHead: WIP_scroll_volume_change


📝 Commits (1)

  • 580b24e feat: add support to change the volume scrolling on the volume icon

📊 Changes

3 files changed (+109 additions, -8 deletions)

View changed files

📝 src/clients/volume/mod.rs (+16 -0)
📝 src/clients/volume/sink.rs (+39 -1)
📝 src/modules/volume.rs (+54 -7)

📄 Description

Hi,

This add the ability to turn up and down the volume simply scrolling on the volume icon.

it works now but it's still a bit of a work in progress.

I do not have hardware(for another month) to test scroll with a mouse wheel, I think in that case I need to add a - for some events, that's why there are two different event signals up and down, otherwise would be enough one change (maybe still can be simplified to only one event).

Also I saw the WIP migration of GTK4, maybe is easier to way that the migration is done and then rework this on top of that.

Just opening this to make this feature public, even if not yet mainstream.


🔄 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/959 **Author:** [@tglman](https://github.com/tglman) **Created:** 5/6/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `WIP_scroll_volume_change` --- ### 📝 Commits (1) - [`580b24e`](https://github.com/JakeStanger/ironbar/commit/580b24e55da13a0ea856c5a79c7c7362c5e1b679) feat: add support to change the volume scrolling on the volume icon ### 📊 Changes **3 files changed** (+109 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/clients/volume/mod.rs` (+16 -0) 📝 `src/clients/volume/sink.rs` (+39 -1) 📝 `src/modules/volume.rs` (+54 -7) </details> ### 📄 Description Hi, This add the ability to turn up and down the volume simply scrolling on the volume icon. it works now but it's still a bit of a work in progress. I do not have hardware(for another month) to test scroll with a mouse wheel, I think in that case I need to add a `-` for some events, that's why there are two different event signals up and down, otherwise would be enough one change (maybe still can be simplified to only one event). Also I saw the WIP migration of GTK4, maybe is easier to way that the migration is done and then rework this on top of that. Just opening this to make this feature public, even if not yet mainstream. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#3878
No description provided.