#!/bin/bash

# omarchy:summary=Toggle microphone mute. Dell XPS and ThinkPad systems get special handling for the hardware LED.

if omarchy-hw-match "XPS"; then
  omarchy-audio-input-mute-xps
elif omarchy-hw-match "ThinkPad"; then
  omarchy-audio-input-mute-thinkpad
else
  omarchy-swayosd-client --input-volume mute-toggle
fi
