repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

test: isolate nu-bang temp-dir cleanup assertion

5eddc31cbbe0b5140741d8cdb30b101bfab269ee

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

extensions/nu-bang/__tests__/real-world.test.ts

Modified
59 59 function tmpBangDirs(): string[] {
60 - return readdirSync(tmpdir()).filter((name) => name.startsWith("pi-nu-bang-"));
60 + return readdirSync(tmpdir()).filter(
61 + (name) =>
62 + name.startsWith("pi-nu-bang-") &&
63 + !name.startsWith("pi-nu-bang-test-") &&
64 + !name.startsWith("pi-nu-bang-output-"),
65 + );
63 68 function run(command: string): ReturnType<typeof executeNu> {

skills/hypr/SKILL.md

Modified
25 25 bar/launcher/notification/portal/etc.
26 26 2. Inspect user's files before prescribing.
27 27 3. Check live state when troubleshooting:
28 29 ```bash
29 30 hyprctl version
30 31 hyprctl monitors all
34 35 hyprctl activewindow
35 36 hyprctl instances
37 39 4. Verify docs for installed version.
38 40 Official wiki targets current/-git; old configs may use old syntax.
39 41 5. Avoid X11 advice unless user explicitly asks about XWayland compatibility.
56 58 ## Delegate by task
58 -| Task | Read |
59 -| ----------------------------------------------------------- | ---------------------------------- |
60 -| Up-to-date docs/version commands | `references/upstream.md` |
61 -| Choose overlapping desktop tools | `references/ecosystem-taxonomy.md` |
62 -| Hyprland config syntax/basics | `references/config-basics.md` |
63 -| Hypr ecosystem tool configs | `references/hypr-tools.md` |
64 -| Troubleshooting portals, screenshare, input, rules, startup | `references/troubleshooting.md` |
65 -| Dotfile/rice structure patterns | `references/dotfiles-patterns.md` |
60 +- Up-to-date docs/version commands:
61 + `references/upstream.md`
62 +- Choose overlapping desktop tools:
63 + `references/ecosystem-taxonomy.md`
64 +- Hyprland config syntax/basics:
65 + `references/config-basics.md`
66 +- Hypr ecosystem tool configs:
67 + `references/hypr-tools.md`
68 +- Troubleshooting portals, screenshare, input, rules, startup:
69 + `references/troubleshooting.md`
70 +- Dotfile/rice structure patterns:
71 + `references/dotfiles-patterns.md`
67 73 ## Editing rules