Fix Kando global shortcut ID for the SUPER+A pie menu

Kando registers its shortcut under its desktop file name, so the ID is
menu.kando.Kando:popups, not kando:popups.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-26 15:36:06 +00:00
co-authored by Claude Opus 5.5
parent 33e1a059f8
commit 017d537138
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ This is a dotfiles/config repository for Arch Linux (Manjaro) using `yay` as the
- **Window managers**: `hypr/`, `sway/`, `i3/` - config files for each WM
- **Hyprland cursor follow + popups**: `hypr/cursor_follow.lua` (required from `base.lua`) keeps a floating window glued beside the mouse cursor (PiP videos, `$mod+z`) and handles the `$mod+a` popups: the `popups` table maps window classes to sizes and whether they follow until Enter is pressed (a `non_consuming` Return bind pauses them; `stay_focused` holds keyboard focus while following, since `follow_mouse = 1`). Opening the Kando menu also pauses a following popup and hands focus to the menu, since the menu needs the keyboard to see SUPER released. `hypr/popup.sh <name>` launches each popup. It also starts Kando on `hyprland.start` and keeps xpad sticky notes in `special:scratchpad`
- **Pie menu**: `kando/menus.json` (the `popups` menu, items run `popup.sh`) and `kando/config.json` (theme), file-symlinked into `~/.config/kando` (the rest of that dir is Kando runtime state). Kando writes settings-window edits through the symlinks, and watches the files, so edits here apply live. Its Hyprland shortcut ID is `kando:popups` (`hl.dsp.global("kando:popups")`); the launcher needs `KANDO_OZONE_PLATFORM=wayland`, otherwise it runs under XWayland
- **Pie menu**: `kando/menus.json` (the `popups` menu, items run `popup.sh`) and `kando/config.json` (theme), file-symlinked into `~/.config/kando` (the rest of that dir is Kando runtime state). Kando writes settings-window edits through the symlinks, and watches the files, so edits here apply live. Its Hyprland shortcut ID is `menu.kando.Kando:popups` (`hl.dsp.global("menu.kando.Kando:popups")`; the app ID is the desktop file name, not `kando`, and `hyprctl globalshortcuts` shows it); the launcher needs `KANDO_OZONE_PLATFORM=wayland`, otherwise it runs under XWayland
- **AI popups**: `hypr/aichat/config.yaml` (model `claude:claude-haiku-5-5`, `repl_prelude: temp:quick`, thinking disabled via `patch` so no empty `<think>` block) and `hypr/aichat/roles/quick.md` (short answers; code requests get library + functions until asked for the code). `popup.sh` sets `AICHAT_CONFIG_FILE`/`AICHAT_ROLES_DIR`; the API key is only in `~/.config/aichat/.env` as `CLAUDE_API_KEY` — never put it in the repo (`.env` is gitignored)
- **KDE Plasma (Steam Deck)**: `kde/` - `apply.sh` installs Krohnkite and runs `shortcuts.py`, which sets Hyprland-style global shortcuts live via kglobalaccel D-Bus (don't hand-edit `kglobalshortcutsrc`; edit the `BINDINGS` table). Avoid `KGlobalAccel.globalShortcutsByKey` over D-Bus because a malformed call crashes kwin_wayland
- **Waybar**: `waybar/` - separate config JSONs per WM (`waybar_hyprland_config.json`, `waybar_sway_config.json`) plus shared `waybar_style.css`
+1 -1
View File
@@ -428,7 +428,7 @@ keys = {
{ repeating = true },
},
{ "SUPER + ALT + Z", "show these keybindings", M.help },
{ "SUPER + A", "pie menu of popups: hold SUPER, flick toward one, release", hl.dsp.global("kando:popups") },
{ "SUPER + A", "pie menu of popups: hold SUPER, flick toward one, release", hl.dsp.global("menu.kando.Kando:popups") },
}
for _, k in ipairs(keys) do