{"id":21147932,"url":"https://github.com/strogonoff/macos-grayscale","last_synced_at":"2026-04-26T20:32:08.698Z","repository":{"id":141127938,"uuid":"266215750","full_name":"strogonoff/macOS-grayscale","owner":"strogonoff","description":"An executable that forces display to grayscale on macOS.","archived":false,"fork":false,"pushed_at":"2020-06-18T06:00:30.000Z","size":26,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-19T23:55:54.219Z","etag":null,"topics":["accessibility","macos"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strogonoff.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-05-22T22:00:39.000Z","updated_at":"2024-08-25T13:56:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"162bbf2c-5e88-4b4c-a9d0-9c188b191b05","html_url":"https://github.com/strogonoff/macOS-grayscale","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/strogonoff/macOS-grayscale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strogonoff%2FmacOS-grayscale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strogonoff%2FmacOS-grayscale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strogonoff%2FmacOS-grayscale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strogonoff%2FmacOS-grayscale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strogonoff","download_url":"https://codeload.github.com/strogonoff/macOS-grayscale/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strogonoff%2FmacOS-grayscale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32312254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["accessibility","macos"],"created_at":"2024-11-20T09:19:20.359Z","updated_at":"2026-04-26T20:32:08.684Z","avatar_url":"https://github.com/strogonoff.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"An executable that forces display to grayscale on macOS.\n\nThis repo exists so that I don’t forget it next time I set up a Mac.\n\nBased on\n`StackExchange post by Lucas Wiman \u003chttps://apple.stackexchange.com/a/342551/1199\u003e`_\n(see also `this one \u003chttps://apple.stackexchange.com/a/342570/1199\u003e`_\non enabling grayscale effect based on current app).\n\nLicensed under CC BY-SA 4.0 like StackExchange requires.\n\nWhy\n===\n\n* Works together with color inversion.\n\n* Can be assigned a keyboard shortcut.\n\nAs of Catalina, the above is impossible with native macOS\naccessibility options.\n\nUsage\n=====\n\nTo compile, run ``make toggle-grayscale``.\n\nTo assign it a shortcut:\n\n1. Copy compiled binary to a sane location\n\n2. Using Automator, create a workflow (quick action)\n   which receives no input in any application.\n   In it, add “Run AppleScript” action with contents like::\n\n       do shell script \"~/bin/toggle-grayscale\"\n\n3. Assign preferred shortcut to that action in keyboard preferences.\n\nTested with\n===========\n\nOS: macOS Catalina 10.15.5\n\nCompiler::\n\n    Apple clang version 11.0.3 (clang-1103.0.32.59)\n    Target: x86_64-apple-darwin19.4.0\n    Thread model: posix\n    InstalledDir: /Library/Developer/CommandLineTools/usr/bin\n\nKnown issues\n============\n\nTurning grayscale on and off this way does not toggle the Accessibility checkbox in Preferences.\n\nLosing grayscale when switching to another display: `Issue \u003chttps://github.com/strogonoff/macOS-grayscale/issues/1\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrogonoff%2Fmacos-grayscale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrogonoff%2Fmacos-grayscale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrogonoff%2Fmacos-grayscale/lists"}