{"id":26536893,"url":"https://github.com/frank038/wlmonitorset","last_synced_at":"2026-04-19T15:02:33.610Z","repository":{"id":283554290,"uuid":"952153054","full_name":"frank038/wlmonitorset","owner":"frank038","description":"A night light program for wayland.","archived":false,"fork":false,"pushed_at":"2025-05-04T17:20:08.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T18:59:05.295Z","etag":null,"topics":["c","clanguage","linux","nightlight","wayland","wlroots"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frank038.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,"zenodo":null}},"created_at":"2025-03-20T20:20:49.000Z","updated_at":"2025-05-04T17:20:12.000Z","dependencies_parsed_at":"2025-03-20T21:57:06.991Z","dependency_job_id":"8aff6c91-7159-468f-9b37-d0cd83edd01f","html_url":"https://github.com/frank038/wlmonitorset","commit_stats":null,"previous_names":["frank038/wlmonitorset"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/frank038/wlmonitorset","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frank038%2Fwlmonitorset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frank038%2Fwlmonitorset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frank038%2Fwlmonitorset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frank038%2Fwlmonitorset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frank038","download_url":"https://codeload.github.com/frank038/wlmonitorset/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frank038%2Fwlmonitorset/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32010958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","clanguage","linux","nightlight","wayland","wlroots"],"created_at":"2025-03-21T22:17:33.548Z","updated_at":"2026-04-19T15:02:33.549Z","avatar_url":"https://github.com/frank038.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wlmonitorset\nA night light program for wayland.\n\nwlmonitorset\nCommand line night light application for wlroots compositors.\nThis work is from wlsunset.\n\nIn development and testing stage. Dusk and two curves options are in todo state.\n\nHow to build:\n\nmeson build\nninja -C build\n\n\n\nwlsunset(1)\n\n# NAME\n\nwlmonitorset - day/night gamma adjustments for Wayland compositors supporting\nwlr-gamma-control-unstable-v1. Can be used three periods of the day.\n\nThe -f 1 option has priority over the -T option.\n\n# SYNOPSIS\n\n*wlmonitorset* [options...]\n\n# OPTIONS\n\n*-h*\n\tShow this help message.\n\n*-T* \u003ctemp\u003e\n\tSet high temperature (default: 6500).\n\n*-t* \u003ctemp\u003e\n\tSet low temperature (default: 4500).\n\n*-m* \u003ctemp\u003e\n\tSet very low temperture - opional (default 0: not used) (to do).\n\n*-S* \u003csunrise\u003e\n\tManual time for sunrise as HH:MM (default 08:00).\n\n*-s* \u003csunset\u003e\n\tManual time for sunset as HH:MM (default 18:00).\n\n*-M* \u003clong\u003e\n\tManual time for dusk as HH:MM - optional (e.g. 21:30) (to do).\n\n*-d* \u003cduration\u003e\n\tManual animation time in seconds (default 60).\n    The transition will be performed in ten steps.\n    The transition starts from the time setted.\n\tOnly applicable when using manual sunset/sunrise times.\n\n*-g* \u003cgamma\u003e\n\tSet gamma (default: 1.0).\n    Only applicable without the -f option.\n\n*-o* \u003coutput\u003e\n    Name of output (display) to use (default: all).\"\n\n*-f \u003ctype\u003e*\n    1 sunrise only; 2 sunrise and sunset (to do).\n    Use the data in the data_array files (data_array for sunrise, \n    data_array2 for sunset) as colour curves,\n    that become/becomes the rgb values for the monitor.\n    The data_array files are a text file containing three rows, \n    one per colour, newline terminated.\n    Each row has 256 values, float numbers from 0.0 to 1.0.\n    If used, the next colour corrections will be applied on to this curve.\n    The gamma option has no effect with this option.\n\n*-b \u003cvalue\u003e*\n    Set the brightness globally. From 0.3 to 1.0. Do not use with -f,\n    use -B instead to preserve the starting curve.\n\n*-B \u003cvalue:value:value\u003e*\n    Set the brightness for sunrise, sunset and dusk. From 0.3 to 1.0.\n    If used with -f, make sure to use 1.0:value:value (or 1.0:1.0:b)\n    to preserve the curves.\n\nThe value 6500 is the neutral value, no colours corrections.\nFor the three periods of the day, any temperature values can be used.\nThe data_array file can be placed in HOME/.config/wlmonitorset folder\nor in this program folder.\n\n\n# EXAMPLE\n\n```\n# With night light only options.\nwlmonitorset -T 6500 -t 4000 -S 08:00 -s 18:00 \n```\n\n# CREATE_CURVE\nIn the folder create_curve is a helper program that let user create a smooth curve\nto be used with wlmonitorset. Just compile it with the command: gcc main.c -lm -o create_curve \nand set some options, for example: ./create_curve -r 0.0:0.5:1.0 -g 0.0:0.5:1.0 -b 0.0:0.5:1.0 (in this case three values per colour channel; three flat curves - from 0.0 to 1.0 - will be implemented in the file data_array, that can be used by wlmonitorset if the case). The number of data per colour channel to pass as options must be 3 or 5 or 8. Limitations: the curves must be monotonic (the value of each point must be greater than the value of the previous one; their slope can be of any type).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrank038%2Fwlmonitorset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrank038%2Fwlmonitorset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrank038%2Fwlmonitorset/lists"}