Hyprland Local Wiki
Use the local official Hyprland Wiki clone before web sources. Optimize for source-backed answers with bounded output and local path citations.
Corpus profile
- Local checkout path:
~/.hyprwiki
- Upstream repository:
https://github.com/hyprwm/hyprland-wiki.git
- Parser/format: Markdown with frontmatter-title handling and fenced-code-aware heading extraction
- Indexed extensions:
.md, .mdx
- Setup command:
/hyprwiki-local-setup
- Smoke test:
/hyprwiki-smoke-test or hyprwiki_smoke_test({ maxSearchResults: 5 })
Required workflow
- Run
hyprwiki_search({ query, limit: 5, includeSnippets: false }) for the user's Hyprland topic.
- Use
hyprwiki_sections({ page, maxSections: 40-80 }) when the right page is found but the relevant heading is unclear.
- Prefer exact
hyprwiki_extract({ page, section, maxChars: 4000-8000, maxSections: 2-5 }) for final evidence.
- Use query extraction only for exploration, then switch to exact section headings when available.
- Use
hyprwiki_read({ page, maxChars }) only for broad context or when no relevant heading is identifiable.
- Use
hyprwiki_related({ page, limit: 5-10 }) when the issue spans connected Hyprland topics.
- Compare documentation guidance with local config/system evidence when relevant.
- Cite local paths and section names in final answers.
- Prefer read-only diagnostics and ask before destructive or user-facing changes.
Search hints
- Monitors:
monitor resolution scale, hyprctl monitors, workspace monitor.
- Window rules:
windowrule float opacity, window rules class title, workspace rules.
- Input/keybinds:
keyboard kb_layout keybinds, bind dispatcher, touchpad gestures.
- Portals/screen sharing:
xdg desktop portal screenshare, xdg-desktop-portal-hyprland.
- NVIDIA:
nvidia wayland env, nvidia multi gpu, GBM.
- Plugins:
hyprpm plugins, using plugins, plugin guidelines.
Source priority
- Local official Hyprland Wiki via
hyprwiki_* tools.
- Local user config/system evidence (
hyprctl, config files, logs) when relevant.
- Official online Hyprland Wiki/GitHub only when local docs are missing, stale, or insufficient.
- Other sources only when necessary and clearly labeled.
Tool usage
hyprwiki_search({ query, limit, includeSnippets }): find candidate pages. Keep limit at 5 unless exploring broadly; snippets default off.
hyprwiki_sections({ page, maxSections }): inspect headings before extracting from large pages.
hyprwiki_extract({ page, section, maxChars, maxSections }): retrieve focused exact sections; best for final answers.
hyprwiki_extract({ page, query, maxChars, maxSections }): retrieve query-relevant sections; best for exploration.
hyprwiki_read({ page, maxChars }): retrieve broad page text; use sparingly.
hyprwiki_related({ page, limit }): discover linked local pages.
hyprwiki_smoke_test({ maxSearchResults }): verify parser/search/extract/read behavior after package or corpus updates.
Read-only diagnostics examples
Use only when relevant:
hyprctl version
hyprctl monitors
hyprctl clients
hyprctl activewindow
hyprctl getoption general:gaps_in
journalctl --user -b -u hyprland --no-pager
Ask before editing Hyprland config, restarting the compositor/session, disabling portals, changing GPU environment, or installing/removing plugins.
Token/output discipline
- Prefer
search -> sections -> exact section extract for final answers.
- Keep search limits small (
limit: 5-10) and snippets off unless needed.
- Use
maxSections around 2-5 and maxChars around 4000-8000 for focused extracts.
- If
omittedSectionCount or truncated: true affects confidence, say so explicitly.
Citation format
Use local source citations like:
Sources:
- ~/.hyprwiki/content/Configuring/Basics/Monitors.md — General
- ~/.hyprwiki/content/Configuring/Basics/Window-Rules.md — Window Rules
1---2name: hyprland-local3description: Use automatically for Hyprland troubleshooting, configuration, Wayland compositor issues, monitors, input, keybinds, rules, animations, decoration, portals, plugins, crashes, NVIDIA, or hyprctl/hyprpm questions. Prefer local official Hyprland Wiki evidence via hyprwiki tools before web sources.4---56# Hyprland Local Wiki78Use the local official Hyprland Wiki clone before web sources. Optimize for source-backed answers with bounded output and local path citations.910## Corpus profile1112- Local checkout path: `~/.hyprwiki`13- Upstream repository: `https://github.com/hyprwm/hyprland-wiki.git`14- Parser/format: Markdown with frontmatter-title handling and fenced-code-aware heading extraction15- Indexed extensions: `.md`, `.mdx`16- Setup command: `/hyprwiki-local-setup`17- Smoke test: `/hyprwiki-smoke-test` or `hyprwiki_smoke_test({ maxSearchResults: 5 })`1819## Required workflow20211. Run `hyprwiki_search({ query, limit: 5, includeSnippets: false })` for the user's Hyprland topic.222. Use `hyprwiki_sections({ page, maxSections: 40-80 })` when the right page is found but the relevant heading is unclear.233. Prefer exact `hyprwiki_extract({ page, section, maxChars: 4000-8000, maxSections: 2-5 })` for final evidence.244. Use query extraction only for exploration, then switch to exact section headings when available.255. Use `hyprwiki_read({ page, maxChars })` only for broad context or when no relevant heading is identifiable.266. Use `hyprwiki_related({ page, limit: 5-10 })` when the issue spans connected Hyprland topics.277. Compare documentation guidance with local config/system evidence when relevant.288. Cite local paths and section names in final answers.299. Prefer read-only diagnostics and ask before destructive or user-facing changes.3031## Search hints3233- Monitors: `monitor resolution scale`, `hyprctl monitors`, `workspace monitor`.34- Window rules: `windowrule float opacity`, `window rules class title`, `workspace rules`.35- Input/keybinds: `keyboard kb_layout keybinds`, `bind dispatcher`, `touchpad gestures`.36- Portals/screen sharing: `xdg desktop portal screenshare`, `xdg-desktop-portal-hyprland`.37- NVIDIA: `nvidia wayland env`, `nvidia multi gpu`, `GBM`.38- Plugins: `hyprpm plugins`, `using plugins`, `plugin guidelines`.3940## Source priority41421. Local official Hyprland Wiki via `hyprwiki_*` tools.432. Local user config/system evidence (`hyprctl`, config files, logs) when relevant.443. Official online Hyprland Wiki/GitHub only when local docs are missing, stale, or insufficient.454. Other sources only when necessary and clearly labeled.4647## Tool usage4849- `hyprwiki_search({ query, limit, includeSnippets })`: find candidate pages. Keep `limit` at 5 unless exploring broadly; snippets default off.50- `hyprwiki_sections({ page, maxSections })`: inspect headings before extracting from large pages.51- `hyprwiki_extract({ page, section, maxChars, maxSections })`: retrieve focused exact sections; best for final answers.52- `hyprwiki_extract({ page, query, maxChars, maxSections })`: retrieve query-relevant sections; best for exploration.53- `hyprwiki_read({ page, maxChars })`: retrieve broad page text; use sparingly.54- `hyprwiki_related({ page, limit })`: discover linked local pages.55- `hyprwiki_smoke_test({ maxSearchResults })`: verify parser/search/extract/read behavior after package or corpus updates.5657## Read-only diagnostics examples5859Use only when relevant:6061```bash62hyprctl version63hyprctl monitors64hyprctl clients65hyprctl activewindow66hyprctl getoption general:gaps_in67journalctl --user -b -u hyprland --no-pager68```6970Ask before editing Hyprland config, restarting the compositor/session, disabling portals, changing GPU environment, or installing/removing plugins.7172## Token/output discipline7374- Prefer `search -> sections -> exact section extract` for final answers.75- Keep search limits small (`limit: 5-10`) and snippets off unless needed.76- Use `maxSections` around 2-5 and `maxChars` around 4000-8000 for focused extracts.77- If `omittedSectionCount` or `truncated: true` affects confidence, say so explicitly.7879## Citation format8081Use local source citations like:8283```txt84Sources:85- ~/.hyprwiki/content/Configuring/Basics/Monitors.md — General86- ~/.hyprwiki/content/Configuring/Basics/Window-Rules.md — Window Rules87```