{"id":19348253,"url":"https://github.com/srirangav/displayutil","last_synced_at":"2025-07-07T07:33:02.251Z","repository":{"id":162477793,"uuid":"354754135","full_name":"srirangav/displayutil","owner":"srirangav","description":"MacOSX command line program for retrieving and updating display related settings","archived":false,"fork":false,"pushed_at":"2023-09-30T09:04:08.000Z","size":548,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T01:51:36.837Z","etag":null,"topics":["cli","display","display-manager","displays","macos"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srirangav.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-04-05T07:28:28.000Z","updated_at":"2025-02-11T05:31:13.000Z","dependencies_parsed_at":"2023-09-30T11:33:17.563Z","dependency_job_id":null,"html_url":"https://github.com/srirangav/displayutil","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/srirangav/displayutil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fdisplayutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fdisplayutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fdisplayutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fdisplayutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srirangav","download_url":"https://codeload.github.com/srirangav/displayutil/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fdisplayutil/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264034651,"owners_count":23547254,"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":["cli","display","display-manager","displays","macos"],"created_at":"2024-11-10T04:19:32.211Z","updated_at":"2025-07-07T07:33:02.229Z","avatar_url":"https://github.com/srirangav.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"README\n------\n\ndisplayutil v0.4.6\n\nHomepage:\n\n    https://github.com/srirangav/displayutil\n\nAbout:\n\n    displayutil is a command line utility for retrieving\n    information about, enabling, or disabling, darkmode,\n    grayscale, nightshift, and truetone on MacOS X systems.\n    It can also retrieve and set the brightness level and\n    resolution for some active displays, along with listing\n    information about active displays.\n\nUsage:\n\n    Brightness:\n\n        displayutil [brightness|br [[all|main|dispaly id]\n                    [0.0 - 1.0]]]\n\n    Darkmode:\n\n        displayutil [darkmode|dm] [on|enable|off|disable]\n\n    Grayscale:\n\n        displayutil [grayscale|gs] [on|enable|off|disable]\n\n    List Display Information:\n\n        displayutil [list|ls] [-a|-l] [all|main|display id]\n\n    Nightshift:\n\n        Status:\n\n            displayutil [nightshift|ns] [on|enable|off|disable]\n\n        Schedule:\n\n            displayutil [nightshift|ns] schedule\n                        [disable|sunset|[h]h:mm [h]h:mm]]\n\n        Strength:\n\n            displayutil [nightshift|ns] [0.0 - 1.0]\n\n    Resolution:\n\n        displayutil [resolution|rs] [main|display id]\n                    [[width] [height] [yes]]\n\n    Truetone:\n\n        displayutil [truetone|tt] [on|enable|off|disable]\n\nBuild:\n\n    $ ./configure\n    $ make\n\nInstall:\n\n    $ ./configure\n    $ make\n    $ make install\n\n    By default, displayutil is installed in /usr/local/bin.\n\n    To install it in a different location, the alternate\n    installation prefix can be supplied to configure as\n    follows:\n\n        $ ./configure --prefix=\"\u003cprefix\u003e\"\n\n    or, alternately to make as follows:\n\n        $ make install PREFIX=\"\u003cprefix\u003e\"\n\n    For example, the following will install displayutil in\n    /opt/local:\n\n        $ make PREFIX=/opt/local install\n\n    A DESTDIR can also be specified for staging purposes\n    (with or without an alternate prefix):\n\n        $ make DESTDIR=\"\u003cdestdir\u003e\" [PREFIX=\"\u003cprefix\u003e\"] install\n\nNotes:\n\n    Accessing the current nightshift setting and/or enabling or\n    disabling nightshift is only available on MacOSX 10.12.4 and\n    newer.\n\n    Accessing the current darkmode setting and/or enabling or\n    disabling darkmode is only available on MacOSX 10.14 and\n    newer.\n\n    Accessing the current truetone setting and/or enabling or\n    disabling truetone has only been tested on MacOSX 11.x and\n    newer on M1-based macs.\n\n    Accessing / setting the current brightness setting has only\n    been tested on MacOSX 11.x and newer on M1-based macs and\n    on MacOSX 12.x on x86_64/intel.\n\n    displayutil can only set the display to a resolution that\n    the system reports as \"supported\".\n\nKnown Bugs and Issues:\n\n    Sometimes there is a delay in turning darkmode on or off\n    and/or it takes a few tries.\n\n    Enabling nightshift's sunset to sunrise mode may require\n    location services to be enabled.\n\nHistory:\n\n    v. 0.4.6 - add support for brightness on x86_64/intel on\n               MacOSX 12.x (Monterey)\n    v. 0.4.5 - list display resolution when no arguments or\n               just a display is specified to resolution mode\n    v. 0.4.4 - fix manpage formatting\n    v. 0.4.3 - update Makefile to compile each source file\n               separately, minor input validation fixes\n    v. 0.4.2 - add extra security related compiler options, fix\n               detection of CoreBrightness framework\n    v. 0.4.1 - try to adopt #include/#import discipline for\n               header files\n               (see https://doc.cat-v.org/bell_labs/pikestyle)\n    v. 0.4.0 - add support for setting resolutions\n    v. 0.3.5 - switch to autoconf for configuration / build\n    v. 0.3.4 - change verbose and extended modes for display\n               listing to -l (long) and -a (all), respectively\n    v. 0.3.3 - default verbose listing to show only supported\n               resolutions for a display and add an extended mode\n               to show all available resolutions for a display\n    v. 0.3.2 - fixes for grayscale on MacOS X 11.x (M1)\n    v. 0.3.1 - add support for listing all available resolutions\n               for a display\n    v. 0.3.0 - add support for brightness\n    v. 0.2.0 - add support for truetone\n    v. 0.1.0 - initial release\n\nLicense:\n\n    See LICENSE.txt\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrirangav%2Fdisplayutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrirangav%2Fdisplayutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrirangav%2Fdisplayutil/lists"}