{"id":14662962,"url":"https://github.com/amadejkastelic/Hyprlux","last_synced_at":"2025-09-08T20:31:38.452Z","repository":{"id":255906408,"uuid":"853859857","full_name":"amadejkastelic/Hyprlux","owner":"amadejkastelic","description":"Hyprland utility that automates vibrance and night light control","archived":false,"fork":false,"pushed_at":"2025-07-20T13:18:14.000Z","size":137,"stargazers_count":35,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T06:12:53.108Z","etag":null,"topics":["hyprland","night-light","nix","rust","vibrance","vibrancy"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/amadejkastelic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"kosutka","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-09-07T18:26:24.000Z","updated_at":"2025-08-09T21:28:27.000Z","dependencies_parsed_at":"2024-09-07T19:46:55.583Z","dependency_job_id":"d172fbbd-4359-49be-8ac9-7f6eed2fd15e","html_url":"https://github.com/amadejkastelic/Hyprlux","commit_stats":null,"previous_names":["amadejkastelic/hyprlux"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/amadejkastelic/Hyprlux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadejkastelic%2FHyprlux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadejkastelic%2FHyprlux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadejkastelic%2FHyprlux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadejkastelic%2FHyprlux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amadejkastelic","download_url":"https://codeload.github.com/amadejkastelic/Hyprlux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadejkastelic%2FHyprlux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231510,"owners_count":25245600,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"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":["hyprland","night-light","nix","rust","vibrance","vibrancy"],"created_at":"2024-09-11T20:00:42.389Z","updated_at":"2025-09-08T20:31:38.073Z","avatar_url":"https://github.com/amadejkastelic.png","language":"Rust","funding_links":["https://ko-fi.com/kosutka"],"categories":["Tools"],"sub_categories":["Display"],"readme":"# Hyprlux\n\nA Hyprland utility program that automatically switches between shaders.\n\nIt currently supports two shaders with configurable strengths:\n- Night light (blue light filter) - based on location or custom times\n- Vibrance - toggles digital vibrance based on currently active window\n\n## Installation\n\n\u003ch4\u003e\n     \u003csub\u003e\n          \u003cimg  src=\"https://cdn.simpleicons.org/rust/white\"\n           height=\"20\"\n           width=\"20\"\u003e\n     \u003c/sub\u003e\n     Cargo\n     \u003ca href=\"https://crates.io/crates/hyprlux\"\u003e\u003cimg alt=\"Cargo Version\" src=\"https://img.shields.io/crates/v/hyprlux?color=brightgreen\u0026label=\" align=\"right\"\u003e\u003c/a\u003e\n\u003c/h4\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick to expand\u003c/summary\u003e\n\n  ```bash\n  cargo install hyprlux\n  ```\n\u003c/details\u003e\n\n\u003ch4\u003e\n     \u003csub\u003e\n          \u003cimg  src=\"https://cdn.simpleicons.org/nixos/white\"\n           height=\"20\"\n           width=\"20\"\u003e\n     \u003c/sub\u003e\n     NixOS\n     \u003c/a\u003e\u003ca href=\"nix\"\u003e\u003cimg alt=\"NixOS Version\" src=\"https://img.shields.io/badge/git-brightgreen\" align=\"right\"\u003e\u003c/a\u003e\n\u003c/h4\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick to expand\u003c/summary\u003e\n\n  Add hyprlux to your flake inputs:\n  ```nix\n  inputs = {\n    hyprlux = {\n      url = \"github:amadejkastelic/Hyprlux\";\n    };\n  };\n  ```\n  Then import either the home manager module or nixos module:\n  ```nix\n  imports = [\n    inputs.hyprlux.nixosModules.default\n  ];\n  ```\n  ```nix\n  imports = [\n    inputs.hyprlux.homeManagerModules.default\n  ];\n  ```\n  And configure it:\n  ```nix\n  {inputs, ...}: {\n    programs.hyprlux = {\n      enable = true;\n\n      systemd = {\n        enable = true;\n        target = \"hyprland-session.target\";\n      };\n\n      night_light = {\n        enabled = true;\n        # Manual sunset and sunrise\n        start_time = \"22:00\";\n        end_time = \"06:00\";\n        # Automatic sunset and sunrise\n        latitude = 46.056946;\n        longitude = 14.505751;\n        temperature = 3500;\n      };\n\n      vibrance_configs = [\n        {\n          window_class = \"steam_app_1172470\";\n          window_title = \"Apex Legends\";\n          strength = 100;\n        }\n        {\n          window_class = \"cs2\";\n          window_title = \"\";\n          strength = 100;\n        }\n      ];\n    };\n  }\n  ```\n\u003c/details\u003e\n\n\u003ch4\u003e\n     \u003csub\u003e\n          \u003cimg  src=\"https://cdn.simpleicons.org/archlinux/white\"\n           height=\"20\"\n           width=\"20\"\u003e\n     \u003c/sub\u003e\n     Arch\n     \u003ca href=\"https://aur.archlinux.org/packages/hyprlux\"\u003e\u003cimg alt=\"AUR Version\" src=\"https://img.shields.io/aur/version/hyprlux?color=brightgreen\u0026label=\" align=\"right\"\u003e\u003c/a\u003e\n\u003c/h4\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick to expand\u003c/summary\u003e\n\n  Install using your favorite AUR helper:\n  ```bash\n  paru -S hyprlux\n  ```\n\u003c/details\u003e\n\n## Configuration\nHyprlux looks for configs in the following locations (sorted by priority):\n- Path passed as first argument when running the binary\n- `$XDG_CONFIG_HOME/hypr/hyprlux.toml`\n- `/etc/hyprlux/config.toml`\n\nExample configurations are available in [examples](examples/).\n\n## Running\n\nEither run it as a systemd service or include it in your hyprland exec-once config:\n\n```hypr\nexec-once=hyprlux \u003e /tmp/hyprlux.log 2\u003e\u00261\n```\n\n## Building\nRun `cargo build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famadejkastelic%2FHyprlux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famadejkastelic%2FHyprlux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famadejkastelic%2FHyprlux/lists"}