{"id":27136324,"url":"https://github.com/niclasvaneyk/dark-mode-daemon","last_synced_at":"2026-05-18T07:31:35.275Z","repository":{"id":225014998,"uuid":"764850356","full_name":"NiclasvanEyk/dark-mode-daemon","owner":"NiclasvanEyk","description":"😈 Run scripts when the system color scheme changes between light and dark.","archived":false,"fork":false,"pushed_at":"2025-11-15T11:57:50.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-15T13:22:15.608Z","etag":null,"topics":["dark-mode","shell-scripting","terminal"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/NiclasvanEyk.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-28T20:29:42.000Z","updated_at":"2025-11-15T11:57:50.000Z","dependencies_parsed_at":"2024-02-28T21:48:26.027Z","dependency_job_id":"7feb103b-4cc3-4985-a8bd-3dbcc1355ddd","html_url":"https://github.com/NiclasvanEyk/dark-mode-daemon","commit_stats":null,"previous_names":["niclasvaneyk/dark-mode-daemon"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/NiclasvanEyk/dark-mode-daemon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiclasvanEyk%2Fdark-mode-daemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiclasvanEyk%2Fdark-mode-daemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiclasvanEyk%2Fdark-mode-daemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiclasvanEyk%2Fdark-mode-daemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NiclasvanEyk","download_url":"https://codeload.github.com/NiclasvanEyk/dark-mode-daemon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiclasvanEyk%2Fdark-mode-daemon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33169182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dark-mode","shell-scripting","terminal"],"created_at":"2025-04-08T02:04:26.961Z","updated_at":"2026-05-18T07:31:35.263Z","avatar_url":"https://github.com/NiclasvanEyk.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dark Mode Daemon\n\nRun scripts when the system color scheme changes between light and dark.\n\n## Getting Started\n\nThe easiest way is to download and run the official installation script\n\n```shell\ncurl --proto '=https' --tlsv1.2 -LsSf https://github.com/niclasvaneyk/dark-mode-daemon/releases/latest/download/dark-mode-daemon-installer.sh | sh\n```\n\nThen you can run the watch process by running\n\n```\ndark-mode-daemon\n```\n\nThis won't do much, since you probably haven't set up any scripts yet.\nDark Mode Daemon runs every executable file in  `~/.config/dark-mode-daemon/scripts/` and sets the `DMD_COLOR_MODE` environment variable to either `light` or `dark`.\nThis lets you adjust configuration files, other environment variables, or whatever else you can come up with.\nHead over to the [list of recipes](./docs/recipes.md) for inspiration.\nExamples include adding automatic color adjustments for [Alacritty](./docs/recipes.md#alacritty), [Helix](./docs/recipes.md#helix), [Fish](./docs/recipes.md#fish), and more.\n\nYou likely want to have Dark Mode Daemon launch in the background when you log into your user.\nThere are many solutions to this, but we've prepared a builtin solution that should work for most platforms\n\n```\ndark-mode-daemon autostart setup\n```\n\nIf you are interested in how this or the color mode detection works, have a look at our [behind the scenes documentation](./docs/how-it-works.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniclasvaneyk%2Fdark-mode-daemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniclasvaneyk%2Fdark-mode-daemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniclasvaneyk%2Fdark-mode-daemon/lists"}