i3status volume module - how to show seperate volume for Master and PCM?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
azn
Level 1
Level 1
Posts: 37
Joined: Fri Apr 10, 2020 2:55 pm
Location: West Yorkshire, UK

i3status volume module - how to show seperate volume for Master and PCM?

Post by azn »

Hello, does anyone know how to make i3status volume module to show seperate volume for alsa Master and PCM?

My lines according to these modules in ~/.i3status.conf looks like

Code: Select all

order += "volume master"
order += "volume pcm"

Code: Select all

volume master {
        format = ": %volume"
        format_muted = ": %volume"
        device = "default"
        mixer = "Master"
        mixer_idx = 0
}

volume pcm {
        format = ": %volume"
        format_muted = ": %volume"
        device = "default"
        mixer = "PCM"
        mixer_idx = 1
}
Currently they both show like "mixed" volume of both Master and PCM - so I need to set both Master and PCM to 100% in alsamixer. When there is like 41% Master and 73% PCM the module will show 36%.

I know I can use different status bar but I am happy with i3status and I know i can use tray programs for such things but would love to know how to do it right with the module I am using as I cannot get it right myself.

btw. documentation did not help much here.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux registered user #367282 | my YouTube channel
Locked

Return to “Software & Applications”