This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local MICROPHONE_DEVICE_NAME = "MacBook Pro Microphone" | |
function detectAirPods(event) | |
if event ~= "dOut" and event ~= "dIn " then | |
return | |
end | |
local device_name = hs.audiodevice.current().name | |
if device_name:find("AirPods") == nil then | |
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
LABEL authors="Trung-DV" | |
WORKDIR /pr | |
RUN apk add --no-cache git github-cli | |
COPY ./entrypoint.sh entrypoint.sh | |
ENTRYPOINT ["./entrypoint.sh"] |