Enable Dell XPS Mute Mic Key (#5252)

* If on XPS, enable XPS mute mic key with LED and fallback to original mic mute flow

* fix hardcode of alsa card 0 to resolved id

* Extract omarchy-hyprland-monitor-focused

* Extract dedicated xps mute script

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Spencer Bull
2026-04-10 06:35:41 -04:00
committed by GitHub
co-authored by David Heinemeier Hansson
parent 5ca74821d4
commit 1746a86a7b
8 changed files with 64 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ progress="$(awk -v p="$percent" 'BEGIN{printf "%.2f", p/100}')"
[[ $progress == "0.00" ]] && progress="0.01"
swayosd-client \
--monitor "$(hyprctl monitors -j | jq -r '.[]|select(.focused==true).name')" \
--monitor "$(omarchy-hyprland-monitor-focused)" \
--custom-icon display-brightness \
--custom-progress "$progress" \
--custom-progress-text "${percent}%"