{"id":13753382,"url":"https://github.com/MaxVerevkin/wlr-which-key","last_synced_at":"2025-05-09T20:35:35.927Z","repository":{"id":55070937,"uuid":"522870129","full_name":"MaxVerevkin/wlr-which-key","owner":"MaxVerevkin","description":"Keymap manager for wlroots-based compositors","archived":false,"fork":false,"pushed_at":"2025-03-22T19:54:20.000Z","size":174,"stargazers_count":124,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T17:48:29.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/MaxVerevkin.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}},"created_at":"2022-08-09T08:44:40.000Z","updated_at":"2025-04-06T17:38:45.000Z","dependencies_parsed_at":"2024-04-20T16:48:50.702Z","dependency_job_id":"fe27738b-739b-4976-a1b9-c62c8b625788","html_url":"https://github.com/MaxVerevkin/wlr-which-key","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxVerevkin%2Fwlr-which-key","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxVerevkin%2Fwlr-which-key/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxVerevkin%2Fwlr-which-key/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxVerevkin%2Fwlr-which-key/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxVerevkin","download_url":"https://codeload.github.com/MaxVerevkin/wlr-which-key/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253321880,"owners_count":21890486,"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":"2024-08-03T09:01:21.259Z","updated_at":"2025-05-09T20:35:30.895Z","avatar_url":"https://github.com/MaxVerevkin.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# wlr-which-key\n\nKeymap manager for wlroots-based compositors. Inspired by [which-key.nvim](https://github.com/folke/which-key.nvim).\n\n## Installation\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/wlr-which-key.svg)](https://repology.org/project/wlr-which-key/versions)\n\n### From Source\n\n```sh\ncargo install wlr-which-key --locked\n```\n\n## Configuration\n\nDefault config file: `$XDG_CONFIG_HOME/wlr-which-key/config.yaml` or `~/.config/wlr-which-key/config.yaml`. Run `wlr-which-key --help` for more info.\n\nKeybindings may be single characters (e.g. `a`, `B`) or [xkb key labels](https://github.com/xkbcommon/libxkbcommon/blob/master/include/xkbcommon/xkbcommon-keysyms.h) (without the `XKB_KEY_` prefix, e.g. `Return`, `Insert`). Ctrl and Alt modifiers are supported (like `Ctrl+Return` or `Ctrl+Alt+a`).\n\nExample config:\n\n```yaml\n# Theming\nfont: JetBrainsMono Nerd Font 12\nbackground: \"#282828d0\"\ncolor: \"#fbf1c7\"\nborder: \"#8ec07c\"\nseparator: \" ➜ \"\nborder_width: 2\ncorner_r: 10\npadding: 15 # Defaults to corner_r\n\n# Anchor and margin\nanchor: center # One of center, left, right, top, bottom, bottom-left, top-left, etc.\n# Only relevant when anchor is not center\nmargin_right: 0\nmargin_bottom: 0\nmargin_left: 0\nmargin_top: 0\n\nmenu: \n  \"w\":\n    desc: WiFi\n    submenu:\n      \"t\": { desc: Toggle, cmd: wifi_toggle.sh }\n      \"c\": { desc: Connections, cmd: kitty --class nmtui-connect nmtui-connect }\n  \"p\":\n    desc: Power\n    submenu:\n      \"s\": { desc: Sleep, cmd: systemctl suspend }\n      \"r\": { desc: Reboot, cmd: reboot }\n      \"o\": { desc: Off, cmd: poweroff }\n  \"t\":\n    desc: Theme\n    submenu:\n      \"d\": { desc: Dark, cmd: dark-theme on }\n      \"l\": { desc: Light, cmd: dark-theme off }\n      \"t\": { desc: Toggle, cmd: dark-theme toggle }\n  \"l\":\n    desc: Laptop Screen\n    submenu:\n      \"t\": { desc: Toggle On/Off, cmd: toggle-laptop-display.sh }\n      \"s\":\n        desc: Scale\n        submenu:\n          \"1\": { desc: Set Scale to 1.0, cmd: wlr-randr --output eDP-1 --scale 1 }\n          \"2\": { desc: Set Scale to 1.1, cmd: wlr-randr --output eDP-1 --scale 1.1 }\n          \"3\": { desc: Set Scale to 1.2, cmd: wlr-randr --output eDP-1 --scale 1.2 }\n          \"4\": { desc: Set Scale to 1.3, cmd: wlr-randr --output eDP-1 --scale 1.3 }\n```\n\n![image](https://user-images.githubusercontent.com/34583604/233025292-af0d5798-1854-4809-b08f-2e8f1a65b3ce.png)\n\n![image](https://user-images.githubusercontent.com/34583604/233025368-e59a386a-6a52-4168-a6e3-5102ea6329cf.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMaxVerevkin%2Fwlr-which-key","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMaxVerevkin%2Fwlr-which-key","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMaxVerevkin%2Fwlr-which-key/lists"}