From 8230991f4ec2ec7cdae1ea3ba829315decf4e8ec Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Wed, 13 Jul 2022 13:57:55 +0200 Subject: [PATCH] Logarithmic volume control only through ALSA master --- .config/i3/config.d/desk | 4 ++++ .config/polybar/config.d/desk | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.config/i3/config.d/desk b/.config/i3/config.d/desk index e332cd8..e566530 100644 --- a/.config/i3/config.d/desk +++ b/.config/i3/config.d/desk @@ -37,6 +37,10 @@ exec --no-startup-id jack-matchmaker -p ~/.config/jack-matchmaker/patterns # Start ALSA/Jack bridge for RODE mic exec_always --no-startup-id zita-a2j -d hw:Mini -j Rode -c 1 +# Set front and headphones to 100%, let master alone change with bindsyms +exec --no-startup-id amixer -D hw:PCH -M sset Front 100% +exec --no-startup-id amixer -D hw:PCH -M sset Headphone 100% + ################################## # BINDINGS FOR STARTING PROGRAMS ################################## diff --git a/.config/polybar/config.d/desk b/.config/polybar/config.d/desk index 5986998..38a4e73 100644 --- a/.config/polybar/config.d/desk +++ b/.config/polybar/config.d/desk @@ -14,9 +14,6 @@ speaker-soundcard = hw:PCH headphone-soundcard = hw:PCH master-mixer = Master -speaker-mixer = Front - -;mapped = true format-volume = label-muted = 🔇 muted @@ -28,3 +25,5 @@ ramp-volume-2 = 🔊 ramp-headphones-0 =  ramp-headphones-1 =  + +interval = 3 \ No newline at end of file