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

+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Toggle microphone mute. Dell XPS systems get special handling for the hardware LED.
if omarchy-hw-match "XPS"; then
omarchy-cmd-mic-mute-xps
else
swayosd-client --monitor "$(omarchy-hyprland-monitor-focused)" --input-volume mute-toggle
fi