diff options
-rw-r--r-- | .config/picom.conf | 4 | ||||
-rw-r--r-- | .config/polybar/config.ini | 4 | ||||
-rw-r--r-- | .scripts/virtual_mic.sh | 10 |
3 files changed, 14 insertions, 4 deletions
diff --git a/.config/picom.conf b/.config/picom.conf index a0f166d..b1510ac 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -422,8 +422,8 @@ wintypes: tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; dock = { shadow = false; } dnd = { shadow = false; } - popup_menu = { opacity = 0.8; } - dropdown_menu = { opacity = 0.8; } + popup_menu = { opacity = 1; shadow = false; } + dropdown_menu = { opacity = 1; shadow = false; } }; opacity-rule = [ diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index f4e6848..1f8e31a 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -93,8 +93,8 @@ mem-bg = ${colors.module-bg} vol-fg = ${colors.module-color-1} vol-bg = ${colors.module-bg} -vol-fg-alt = #c32aeb -;vol-fg-alt = ${colors.module-color-1} +;vol-fg-alt = #c32aeb +vol-fg-alt = ${colors.module-color-0} batt-charging-bg = ${colors.module-bg} batt-charging-fg = ${colors.module-color-0} diff --git a/.scripts/virtual_mic.sh b/.scripts/virtual_mic.sh new file mode 100644 index 0000000..20d791d --- /dev/null +++ b/.scripts/virtual_mic.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# create virtual sinks +pactl load-module module-null-sink sink_name=VirtualSpeaker +pactl load-module module-null-sink media.class=Audio/Duplex sink_name=VirtualMicrophone + +# create loopbacks +pactl load-module module-loopback source="VirtualSpeaker.monitor" sink="$(pactl get-default-sink)" +pactl load-module module-loopback source="$(pactl get-default-source)" sink="VirtualMicrophone" +pactl load-module module-loopback source="VirtualSpeaker.monitor" sink="VirtualMicrophone" |