Compare commits
2
Commits
33e1a059f8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62af25ac5d | ||
|
|
017d537138 |
@@ -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
|
- **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`
|
- **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)
|
- **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
|
- **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`
|
- **Waybar**: `waybar/` - separate config JSONs per WM (`waybar_hyprland_config.json`, `waybar_sway_config.json`) plus shared `waybar_style.css`
|
||||||
|
|||||||
@@ -428,7 +428,7 @@ keys = {
|
|||||||
{ repeating = true },
|
{ repeating = true },
|
||||||
},
|
},
|
||||||
{ "SUPER + ALT + Z", "show these keybindings", M.help },
|
{ "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
|
for _, k in ipairs(keys) do
|
||||||
|
|||||||
+14
-1
@@ -4,7 +4,20 @@
|
|||||||
"showIntroductionDialog": false,
|
"showIntroductionDialog": false,
|
||||||
"menuTheme": "purity",
|
"menuTheme": "purity",
|
||||||
"darkMenuTheme": "default",
|
"darkMenuTheme": "default",
|
||||||
"menuThemeColors": {},
|
"menuThemeColors": {
|
||||||
|
"purity": {
|
||||||
|
"text-color": "rgb(240 240 240 / 0.9)",
|
||||||
|
"icon-color": "rgb(240 240 240 / 0.9)",
|
||||||
|
"icon-hover-color": "rgb(85 255 187 / 1)",
|
||||||
|
"ring-color": "rgb(27 17 14 / 0.94)",
|
||||||
|
"inner-circle": "rgb(85 255 187 / 0.6)",
|
||||||
|
"wedge-color": "rgb(85 255 187 / 0.18)",
|
||||||
|
"sector-color-submenu": "rgb(2 73 66 / 0.9)",
|
||||||
|
"sector-color-action": "rgb(2 73 66 / 0.9)",
|
||||||
|
"background-main": "rgb(0 0 0 / 0)",
|
||||||
|
"background-secondary": "rgb(0 0 0 / 0.55)"
|
||||||
|
}
|
||||||
|
},
|
||||||
"darkMenuThemeColors": {},
|
"darkMenuThemeColors": {},
|
||||||
"enableDarkModeForMenuThemes": false,
|
"enableDarkModeForMenuThemes": false,
|
||||||
"enableSelectionWedges": false,
|
"enableSelectionWedges": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user