prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request]: Rofi audio selector

ffrancesco94 opened this issue · comments

Feature Request

Description

Right now, to change audio source/sink, we right-click on the waybar icon which opens pavucontrol (by the way, there's a bug: pavucontrol is open by default on the first workspace of the main screen, regardless of which workspace is active when the icon is touched). Might be worthwile to make a rofi interface for that that can be called with a keybinding.

Use Case

Makes it easier (and keyboard-only) to change audio source/sink. At first I didn't even realise that pavucontrol was open.

Proposed Solution

Have a rofi audio selector, so that changing source/sink can be done on the fly without actually opening a new window

Alternatives

A good starting point would be to at least open pavucontrol on the active workspace.

Additional Information

Something along those lines is implemented here.

commented

(by the way, there's a bug: pavucontrol is open by default on the first workspace of the main screen, regardless of which workspace is active when the icon is touched)

This one is upstream bug will wait for Hyprland to iron this out.

And Yeah the feature request is useful would be cool if we can find an implementation like this. Will try to see what we can do.

commented

Should work like this

image

commented

checkout #1588

So from what I understood the selector should appear when right clicking the icon? Doesn't appear for me...

commented

Are you sure you fetched the PR?

what is the output when you run volumecontrol.sh -s "" ?

volumecontrol.sh -s "" opens the right rofi menu, it's just the right-clicking that doesn't work.

commented

So the script works.

Can I see this file?
~/.config/waybar/modules/pulseaudio.jsonc

image

requires a waybar reload (Hyde reload)

Found the issue. I had just logged out and in, but it took a whole reboot for it to actually apply. Thank you, it works!