Bindings and cleanup

This commit is contained in:
Alexander Gehrke 2023-06-09 17:16:49 +02:00
parent ac8249a394
commit fb0c3ff086
4 changed files with 15 additions and 11 deletions

16
rc.lua
View file

@ -60,16 +60,18 @@ end)
audiowheel = require("audiowheel")
speakerwheel = audiowheel {
image_prefix = "/usr/share/icons/Adwaita/256x256/legacy/",
volume_control = { cardid = 0 },
image_prefix = "/usr/share/icons/ePapirus/24x24/panel/",
}
micwheel = audiowheel {
image_prefix = "/usr/share/icons/Adwaita/48x48/legacy/",
image_muted = "microphone-sensitivity-muted.png",
image_low = "microphone-sensitivity-low.png",
image_medium = "microphone-sensitivity-medium.png",
image_high = "microphone-sensitivity-high.png",
volume_control = { tooltip = false, channel = "Dmic0" }
image_prefix = "/usr/share/icons/ePapirus/24x24/panel/",
image_muted = "microphone-sensitivity-muted.svg",
image_low = "microphone-sensitivity-low.svg",
image_medium = "microphone-sensitivity-medium.svg",
image_high = "microphone-sensitivity-high.svg",
--volume_control = { cardid = 0, tooltip = false, channel = "Dmic0" }
volume_control = { tooltip = false, type = "source" }
}