{"id":22920552,"url":"https://github.com/jamessouth/polybar-nightlight","last_synced_at":"2025-04-15T14:33:44.394Z","repository":{"id":94663222,"uuid":"388244742","full_name":"jamessouth/polybar-nightlight","owner":"jamessouth","description":"Gamma control/blue light filter module for Polybar","archived":false,"fork":false,"pushed_at":"2024-07-17T18:05:03.000Z","size":255,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T21:12:33.403Z","etag":null,"topics":["bash","polybar","xorg","xrandr"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/jamessouth.png","metadata":{"files":{"readme":"README.md","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":"2021-07-21T21:01:38.000Z","updated_at":"2024-07-23T03:19:46.000Z","dependencies_parsed_at":"2024-04-07T05:22:14.792Z","dependency_job_id":"d7c31dda-e581-4a7e-a035-51140e4fcfe0","html_url":"https://github.com/jamessouth/polybar-nightlight","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/jamessouth%2Fpolybar-nightlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamessouth%2Fpolybar-nightlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamessouth%2Fpolybar-nightlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamessouth%2Fpolybar-nightlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamessouth","download_url":"https://codeload.github.com/jamessouth/polybar-nightlight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249088908,"owners_count":21210881,"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":["bash","polybar","xorg","xrandr"],"created_at":"2024-12-14T07:16:13.219Z","updated_at":"2025-04-15T14:33:44.345Z","avatar_url":"https://github.com/jamessouth.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/imgs/title_dark.jpg\"\u003e\n        \u003cimg alt=\"polybar-nightlight\" src=\"https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/imgs/title.jpg\"\u003e\n    \u003c/picture\u003e\n\u003c/p\u003e\n\nA gamma control/blue light filter module for your\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cpicture\u003e\n \t \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/polybar/polybar/master/doc/_static/banner-dark-mode.png\"\u003e\n \t \u003cimg alt=\"polybar logo\" src=\"https://raw.githubusercontent.com/polybar/polybar/master/doc/_static/banner.png\"\u003e\n\t\u003c/picture\u003e\n\u003c/div\u003e\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/jamessouth/polybar-nightlight/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/jamessouth/polybar-nightlight\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://archlinux.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Linux-d.svg?logoWidth=40\u0026labelColor=d35e49\u0026color=E3C567\u0026logoColor=000000\u0026logo=Linux\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://www.gnu.org/software/bash/manual/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Bash-d.svg?logoWidth=40\u0026labelColor=4eaa25\u0026color=293137\u0026logoColor=ffffff\u0026logo=GNU%20Bash\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://www.x.org/wiki/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Xorg-d.svg?logoWidth=40\u0026labelColor=f28834\u0026color=000000\u0026logoColor=ffffff\u0026logo=X.Org\"\u003e\u003c/a\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/awesome-%C6%94%F0%9D%9A%BA%C5%9E-235789.svg\"\u003e\n\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n\u003cp\u003e\n\t\u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/imgs/desc_dark.jpg\"\u003e\n        \u003cimg alt=\"description\" src=\"https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/imgs/desc.jpg\"\u003e\n    \u003c/picture\u003e\n\u003c/p\u003e\n\nThis module provides a blue light filter/night shift effect for `X` displays. It:\n* uses polybar's `ipc` function\n* calls the `xrandr` command to change the gamma output\n* does *not* depend on `redshift`\n* can be automated to run on a schedule\n\n\u003cimg alt=\"clicking through rgb profiles\" src=\"imgs/screenshot.gif\"\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n\u003cp\u003e\n\t\u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/imgs/inst_dark.jpg\"\u003e\n        \u003cimg alt=\"installation\" src=\"https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/imgs/inst.jpg\"\u003e\n    \u003c/picture\u003e\n\u003c/p\u003e\n\n```bash\nfn=\"$HOME/.config/polybar/nightlight.sh\" \u0026\u0026 curl -o $fn https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/nightlight.sh \u0026\u0026 chmod +x $fn\n```\nThis will:\n* set the `fn` variable to `~.config/polybar/nightlight.sh`\n* `curl` the script to that location\n* `chmod +x` the script to make it executable\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n\u003cp\u003e\n\t\u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/imgs/usage_dark.jpg\"\u003e\n        \u003cimg alt=\"usage\" src=\"https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/imgs/usage.jpg\"\u003e\n    \u003c/picture\u003e\n\u003c/p\u003e\n\nPlease see the wiki.\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n## My other polybar modules\nPlease check out:\n  * [polybar-time-bar](https://github.com/jamessouth/polybar-time-bar)\n  * [polybar-binary-clock-fonts](https://github.com/jamessouth/polybar-binary-clock-fonts)\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamessouth%2Fpolybar-nightlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamessouth%2Fpolybar-nightlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamessouth%2Fpolybar-nightlight/lists"}