{showIcon && (
)}
{formattedVolume}
);
});
Widget.displayName = "Mic";
/**
* Set the microphone volume.
* @param {number} volume - The volume level to set.
*/
function setMic(volume) {
if (volume === undefined) return;
Uebersicht.run(`osascript -e 'set volume input volume ${volume}'`);
}