{"id":18721144,"url":"https://github.com/notmax6677/glow.sh","last_synced_at":"2026-05-08T04:17:56.833Z","repository":{"id":112387646,"uuid":"478262995","full_name":"notmax6677/glow.sh","owner":"notmax6677","description":"A simple software-level brightness management tool for the commandline, built on Xrandr.","archived":false,"fork":false,"pushed_at":"2022-04-07T13:42:39.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T11:41:50.879Z","etag":null,"topics":["bash","desktop-environment","linux","xrandr"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/notmax6677.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":"2022-04-05T18:59:40.000Z","updated_at":"2024-06-15T22:00:28.000Z","dependencies_parsed_at":"2023-04-30T01:06:16.639Z","dependency_job_id":null,"html_url":"https://github.com/notmax6677/glow.sh","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/notmax6677%2Fglow.sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notmax6677%2Fglow.sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notmax6677%2Fglow.sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notmax6677%2Fglow.sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notmax6677","download_url":"https://codeload.github.com/notmax6677/glow.sh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239585538,"owners_count":19663587,"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","desktop-environment","linux","xrandr"],"created_at":"2024-11-07T13:33:46.012Z","updated_at":"2026-05-08T04:17:51.794Z","avatar_url":"https://github.com/notmax6677.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# glow.sh\n\nThis script is meant to bridge the distance between the complicated usage of changing screen brightnesses with xrandr, and monkeys who can't be bothered to remember all of the documentation just to turn their screen down 5 brightness units.\n\n## Prerequisites\n* xrandr\n* tput\n* bc\n* grep\n* awk\n\n## Installation\n\nYou can install this file by either downloading it, curling it, or fetching it with wget.\n\nwget\n```sh\nwget https://raw.githubusercontent.com/notmax6677/glow.sh/main/glow.sh\n```\n\ncurl\n```sh\ncurl https://raw.githubusercontent.com/notmax6677/glow.sh/main/glow.sh -o glow.sh\n```\n\nAfterwards just make it executable\n```sh\nchmod +x glow.sh\n```\n\nYou can also take out the extension for simplicity\n```sh\nmv PATH_TO_FOLDER/glow.sh PATH_TO_FOLDER/glow\n```\n\n## Usage\n\n#### Get function\nThe `get` function is a very versatile tool, offering up to TWO FUNCTIONS with different capabilities.\n\nThe first one, `get device`, will show all active screen devices attached to your computer.\n```sh\n./glow get device\n```\nor\n```sh\n./glow get dev\n```\n\nThe second function, being equally useful, is `get brightness`, it will fetch the brightness of a given screen.\n```sh\n./glow get brightness DEVICE_NAME\n```\nor\n```sh\n./glow get br DEVICE_NAME\n```\nThe brightness will be shown from a scale of 0 to 1.0.\n0 = 0%\n1.0 = 100%\n\n#### Set function\nThe set function seems pretty self-explanatory, it just sets the brightness of a given device.\n\nUse it like this\n```sh\n./glow set DEVICE_NAME BRIGHTNESS\n```\nPlease remember that `BRIGHTNESS` is on a scale from 0 to 1.\n\nThat's all there is to it, enjoy :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotmax6677%2Fglow.sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotmax6677%2Fglow.sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotmax6677%2Fglow.sh/lists"}