{"id":20951359,"url":"https://github.com/lgug2z/whkd","last_synced_at":"2025-10-07T23:32:52.393Z","repository":{"id":104319712,"uuid":"591491992","full_name":"LGUG2Z/whkd","owner":"LGUG2Z","description":"A simple hotkey daemon for Windows","archived":false,"fork":false,"pushed_at":"2025-05-17T17:19:28.000Z","size":84,"stargazers_count":676,"open_issues_count":13,"forks_count":21,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-22T13:30:10.278Z","etag":null,"topics":["hotkey-daemons","hotkeys","keyboard-shortcuts","rust","windows"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LGUG2Z.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"LGUG2Z"}},"created_at":"2023-01-20T22:19:42.000Z","updated_at":"2025-05-22T10:43:21.000Z","dependencies_parsed_at":"2024-01-14T03:50:40.263Z","dependency_job_id":"718ea167-854b-483e-ae4b-711aed555582","html_url":"https://github.com/LGUG2Z/whkd","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/LGUG2Z/whkd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGUG2Z%2Fwhkd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGUG2Z%2Fwhkd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGUG2Z%2Fwhkd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGUG2Z%2Fwhkd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LGUG2Z","download_url":"https://codeload.github.com/LGUG2Z/whkd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGUG2Z%2Fwhkd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278863646,"owners_count":26059202,"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-10-07T02:00:06.786Z","response_time":59,"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":["hotkey-daemons","hotkeys","keyboard-shortcuts","rust","windows"],"created_at":"2024-11-19T00:58:31.043Z","updated_at":"2025-10-07T23:32:52.339Z","avatar_url":"https://github.com/LGUG2Z.png","language":"Rust","funding_links":["https://github.com/sponsors/LGUG2Z"],"categories":[],"sub_categories":[],"readme":"# whkd\n\n_whkd_ is a simple hotkey daemon for Windows that reacts to input events by executing commands.\n\nIts configuration file (`whkdrc`) is a series of bindings which define the associations between the input events and the\ncommands. By default, this file should be located in `~/.config/`, or an alternative can be set using the environment\nvariable `WHKD_CONFIG_HOME`.\n\nIf you are compiling from the `master` branch, a `--config` flag is also available, which, when used, overrides the\n`WHKD_CONFIG_HOME` environment variable. This flag will be made available in v0.1.3+.\n\nThe format of the configuration file (and this project itself) is heavily inspired by `skhd` and `sxhkd`.\n\n## Example\n\n```\n.shell pwsh # can be one of cmd | pwsh | powershell\n.pause alt + shift + p # can be any hotkey combo to toggle all other hotkeys on and off\n.pause_hook echo \"you can call whatever powershell command you want here\"\n\n# Specify different behaviour depending on the app\n# These \"app : command\" style bindings MUST come immediately below the .shell directive\nalt + n [\n    # ProcessName as shown by `Get-Process`\n    Firefox       : echo \"hello firefox\"\n    \n    # Spaces are fine, no quotes required\n    Google Chrome : echo \"hello chrome\"\n]\n\nalt + q [\n    # Default is a keyword which will apply to all apps\n    # If you only have Default, this is the same as doing \"alt + q : komorebic close\"\n    Default       : komorebic close\n\n    # Ignore is a keyword which will skip running the hotkey for the given process\n    Google Chrome : Ignore\n]\n\n# focus windows with komorebi\nalt + h : komorebic focus left\nalt + j : komorebic focus down\nalt + k : komorebic focus up\nalt + l : komorebic focus right\n```\n\n## License\n\n`whkd` is licensed under the [Komorebi 2.0.0 license](./LICENSE.md), which\nis a fork of the [PolyForm Strict 1.0.0\nlicense](https://polyformproject.org/licenses/strict/1.0.0). On a high level\nthis means that you are free to do whatever you want with `whkd` for\npersonal use other than redistribution, or distribution of new works (i.e.\nhard-forks) based on the software.\n\nAnyone is free to make their own fork of `whkd` with changes intended\neither for personal use or for integration back upstream via pull requests.\n\nThe [Komorebi 2.0.0 License](./LICENSE.md) does not permit any kind of\ncommercial use.\n\n### Licensing for Commercial Use\n\nA dedicated Individual Commercial Use License is available for those who want to use `whkd` at work.\n\nThe [`komorebi` Individual Commercial Use License](https://lgug2z.com/software/komorebi) adds “Commercial Use” as a\n“Permitted Use” for the licensed individual only, for the duration of a valid paid license subscription only, for both\n`komorebi` and `whkd`. All provisions and restrictions enumerated in\nthe [Komorebi License](https://github.com/LGUG2Z/komorebi-license)\ncontinue to apply.\n\n### Contribution Licensing\n\nContributions are accepted with the following understanding:\n\n- Contributed content is licensed under the terms of the 0-BSD license\n- Contributors accept the terms of the project license at the time of contribution\n\nBy making a contribution, you accept both the current project license terms, and that all contributions that you have\nmade are provided under the terms of the 0-BSD license.\n\n#### Zero-Clause BSD\n\n```\nPermission to use, copy, modify, and/or distribute this software for\nany purpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL\nWARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE\nFOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY\nDAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN\nAN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgug2z%2Fwhkd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgug2z%2Fwhkd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgug2z%2Fwhkd/lists"}