Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sound block: allow current sink name to be shown #712

Merged
merged 1 commit into from
May 30, 2020

Conversation

ammgws
Copy link
Collaborator

@ammgws ammgws commented May 29, 2020

Adds new format qualifier output_name which will show the name of the sink whose volume is being reported. This is handy when you have multiple audio outputs that you switch between.

Sink names can be checked via pactl list short sinks, and usually look something like "alsa_output.pci-0000_00_1b.0.analog-stereo". Displaying that as-is would be clunky, so this PR also adds a "mapping" config similar to that used in the ibus block, where you can assign a display name for each sink.

@ammgws ammgws merged commit 941927d into greshake:master May 30, 2020
@ammgws ammgws deleted the soundsinkname branch May 30, 2020 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant