{"id":28512864,"url":"https://github.com/baskerville/backlight","last_synced_at":"2025-07-17T14:05:57.645Z","repository":{"id":6140963,"uuid":"7369760","full_name":"baskerville/backlight","owner":"baskerville","description":"Get and set the backlight brightness","archived":false,"fork":false,"pushed_at":"2017-10-02T13:56:48.000Z","size":10,"stargazers_count":15,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T05:37:20.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baskerville.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}},"created_at":"2012-12-29T19:43:18.000Z","updated_at":"2022-06-28T10:20:48.000Z","dependencies_parsed_at":"2022-09-05T22:00:21.346Z","dependency_job_id":null,"html_url":"https://github.com/baskerville/backlight","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/baskerville/backlight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskerville%2Fbacklight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskerville%2Fbacklight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskerville%2Fbacklight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskerville%2Fbacklight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baskerville","download_url":"https://codeload.github.com/baskerville/backlight/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskerville%2Fbacklight/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265614247,"owners_count":23798411,"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":"2025-06-09T01:05:13.947Z","updated_at":"2025-07-17T14:05:57.640Z","avatar_url":"https://github.com/baskerville.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\n*backlight* — get and set the backlight brightness.\n\n# SYNOPSIS\n\n\tbacklight COMMAND\n\tbacklight [+|-]VALUE[%]\n\n# DESCRIPTION\n\n*backlight* lets you adjust the brightness of your display through the *Linux* *sysfs*.\n\n# COMMANDS\n\n- `current` — Shows the current brightness value.\n- `maximum` — Shows the maximum brightness value that can be set.\n\nCommand names can be truncated if there's no ambiguity regarding their explicit counterpart.\n\nA command consisting of a number, optionally followed by a percent sign, sets the brightness. If the number is prefixed by a plus or minus sign, the value is relative to the current brightness.\n\n# EXAMPLES\n\nThis will output the current brightness level as percentage:\n\n\tperl -e 'print int(`backlight c` * 100 / `backlight m` + 0.5)'\n\nThis sxhkd configuration snippet will bind the brightness function keys (mostly found on laptops) to *backlight*:\n\n\tXF86MonBrightness{Up,Down}\n\t\tbacklight {+,-}5%\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaskerville%2Fbacklight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaskerville%2Fbacklight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaskerville%2Fbacklight/lists"}