mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[GH-ISSUE #50] Volume module #8463
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#8463
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 @aquifolly on GitHub (Jan 11, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/50
A volume module with a popup widget that has a slider. option to choose backend (wpctl, pactl, etc). usage of on-scroll events to change volume without opening the widget.
@JakeStanger commented on GitHub (Jan 11, 2023):
Happy to add this. I'd like to see if I can get a proper mixer too (like the Win7 one) allowing you to change input/output/program volumes individually where supported (ie Pulse or Pipewire).
@aquifolly commented on GitHub (Jan 12, 2023):
That would be nice
@dchinmay2 commented on GitHub (Mar 18, 2023):
What if you just open pavucontrol on click
@JakeStanger commented on GitHub (Mar 18, 2023):
That could be achieved currently with the
custommodule without much work.My intention for any "proper" modules is that they offer a more integrated experience, and don't rely on external software where possible. Also, I've started work on the client code for this already :)
@JakeStanger commented on GitHub (Apr 1, 2023):
Going to push this back to the next milestone because PulseAudio is painful to work with and it's draining. Want to work through some of the issues to avoid stagnation. I'll stick up a temporary custom module config that works with pavucontrol in the meantime.
@Phant80m commented on GitHub (May 6, 2023):
how do i get the buttom to display the audio.
@JakeStanger commented on GitHub (May 6, 2023):
Nothing has been implemented yet
@yavko commented on GitHub (Jun 30, 2023):
I think a good starting point would be replicating what kde does, though I think kde's design isn't perfect so maybe could be built on
@Phant80m commented on GitHub (Jul 4, 2023):
hmmmm
@Pyvonix commented on GitHub (Nov 13, 2023):
A bar that already implement a good volume's widget is the waybar with its PulseAudio plugin that offer an easy to:
That could be a good reflection way.
And will be amazing to see something similar in Ironbar!
@yavko commented on GitHub (Nov 13, 2023):
Waybar's doesn't have a GUI tho. Plus you could already do the same as waybar does with ironbar's built in features.
@Pyvonix commented on GitHub (Nov 14, 2023):
Both bars are made on the top of GTK. It's true that Waybar doesn't have real "GUI" (if you mean possibility to pop a box or container), but with some Wayland's trick (catching the window' name) you could make the mixer appear as floating windows the desired position. Realized with
pavucontrolon Sway the result is transparent.Not completely agree.
After a very painful configuration, I was able to achieve something "like" a mixer using:
button,labelandprogressbased on the doc's example. But why doesn't offering{volume}keyword like thesys_infomodule did?And I will point out for the moment I haven't found a way dynamically changes an icon depending the audio output (e.g. headphones, speakers, etc... ) or the audio level (e.g. mute, low, high, ...).
I didn't look into using an external script because I really don't like doing it that way.
I'd really like ironbar and there are little things that could make it even better.
@JakeStanger commented on GitHub (Nov 14, 2023):
This is achievable using an ironvar and/or script currently.
Image sources in the custom module are dynamic strings, which means you can set them via script or ironvar and they will update automatically (in theory).
I understand not wanting to rely heavily on scripts, as it does add some performance and maintenance overhead. That's why I want a native module :)
The thing is with the volume module is almost all the work is getting a working client. Once that's done, the rest of the implementation should be relatively straightforward; I may not release a full mixer interface immediately but I'd want the ability to show and change master volume for the current output device at a minimum. Unfortunately I've not had much time recently to look at this, and any previous attempts have mostly involved banging my head against walls so it might be a while still.
@JakeStanger commented on GitHub (Feb 18, 2024):
I've just opened a draft PR (linked above) with the initial version of the module. It's not quite complete, but stable enough to start playing around with. Full details in the PR.