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 BullandDavid Heinemeier Hansson authored and GitHub committed 2026-04-10 06:35:41 -04:00
1 parent 5ca74821d4
commit 1746a86a7b
8 files changed
+64 -7

No files matched your search

+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}%"