{"id":20659310,"url":"https://github.com/iphands/osxtray","last_synced_at":"2025-04-19T14:13:21.548Z","repository":{"id":136293552,"uuid":"344262159","full_name":"iphands/osxtray","owner":"iphands","description":"WIP tray stuff for OSX","archived":false,"fork":false,"pushed_at":"2022-06-30T20:09:52.000Z","size":449,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-16T01:51:12.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iphands.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-03T20:59:25.000Z","updated_at":"2023-05-16T08:49:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"853f63db-a3bb-481c-ab38-bef6ffb87f0d","html_url":"https://github.com/iphands/osxtray","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iphands%2Fosxtray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iphands%2Fosxtray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iphands%2Fosxtray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iphands%2Fosxtray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iphands","download_url":"https://codeload.github.com/iphands/osxtray/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249709559,"owners_count":21313949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T18:33:54.186Z","updated_at":"2025-04-19T14:13:21.531Z","avatar_url":"https://github.com/iphands.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OSX Tray\n\nCan't live my global microphone mute tray thingy.\n\nWIP at the moment there are some issues:\n\n- Still need to clean up the old listeners on hardware change :D\n- Fixed: ~~OSX sucks! For some reason **muted** and **vol=0** Zoom and other apps can still hear me :(~~\n- Fixed: ~~including the code does not setup new listeners when devices changes (includes headphones plug/unplug)~~\n- Fixed: ~~There is still some issue where with two devices osxtray might report mute, but Zoom is looking at the\nother mic. I'll probably change the toggle (Apple Script) code to just mute all devices instead of targeting the primary.~~\n\n## Install / Run\n```shell\n$ git clone https://github.com/iphands/osxtray.git\n$ cd osxtray\n$ cargo build --release \u0026\u0026 ./target/release/osxtray\n```\n\nYou can also import the Automator workflow and use it as a quick action (touchbar)\n```shell\n$ cargo build --release\n$ mkdir -p ~/bin \u0026\u0026 cp ./target/release/mic_toggle ~/bin/\n$ cp -r workflow/Toggle.workflow  ~/Library/Services/\n```\n\n## How to toggle mute from keyboard\n\nI used this [AppleScript + Automator + keyboard shortcut](https://blog.fosketts.net/2010/08/09/assign-keyboard-shortcut-applescript-automator-service/) guide for now.\n\n~~And this [helpful hint](https://superuser.com/a/397770) for the AppleScript~~\n\nInstead of using the AppleScript use the `./target/release/mic_toggle` binary.\nThis helps mute/unmute all the mics that are on the systems.\n\n## Screenshots\n\u003ctable\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"https://raw.githubusercontent.com/iphands/osxtray/main/assets/demo.gif\" alt=\"screenshot\"\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiphands%2Fosxtray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiphands%2Fosxtray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiphands%2Fosxtray/lists"}