website-xp-phone 2.3.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/build/blogDirsPlugin.ts +100 -0
  2. package/package.json +15 -8
  3. package/public/blog/archive/eighth-post-lost-in-the-sauce.json +36 -0
  4. package/public/blog/archive/noise/eleventh-post-discussion-java-gist.md +5 -0
  5. package/public/blog/archive/noise/fifteenth-post-very-rare-windows-funny.md +8 -0
  6. package/public/blog/archive/noise/fourth-post-meta-blog.md +3 -0
  7. package/public/blog/archive/noise/sixteenth-post-meta-fantasy-blog.md +4 -0
  8. package/public/blog/archive/noise/tenth-post-meta-funny-redacted-and-timetravelled.md +3 -0
  9. package/public/blog/archive/noise/twelfth-post-mixing-phase-technique-audio-music.md +48 -0
  10. package/public/blog/archive/noise/welcome-back-ramble-meta.md +6 -0
  11. package/public/blog/archive/noise/welcome-to-my-blog-meta-blog-welcome-to-my-website.md +7 -0
  12. package/public/blog/archive/seventh-post-lie-theory-na2000.json +22 -0
  13. package/public/blog/archive/sophus-lie.json +36 -0
  14. package/public/blog/hlwm_and_herbstutil.md +74 -0
  15. package/public/blog/writing/hot-action-under-a-cold-moon.json +9 -0
  16. package/public/checksums.txt +90 -67
  17. package/public/documents/drift-report.json +13 -1
  18. package/scripts/refresh-soundcloud.mjs +54 -8
  19. package/sonar-project.properties +12 -0
  20. package/src/content/addons.json +2 -2
  21. package/src/content/blog.json +17 -365
  22. package/src/content/blogDirs.ts +197 -0
  23. package/src/content/configs.json +5 -3
  24. package/src/content/contacts.json +7 -5
  25. package/src/content/index.ts +155 -57
  26. package/src/content/music-ext.json +1 -1
  27. package/src/content/pages.json +2 -1
  28. package/src/content/projects/development.json +2 -2
  29. package/src/content/projects/doftiles.json +63 -7
  30. package/src/content/projects/frontend.json +2 -2
  31. package/src/content/projects/graphbrowser.json +2 -2
  32. package/src/content/projects/herbctl.json +213 -0
  33. package/src/content/projects/herbstutil.json +66 -36
  34. package/src/content/projects/lightdni-jssas-toggle.json +2 -2
  35. package/src/content/projects/on-deploy.json +67 -0
  36. package/src/content/projects/pagerts.json +4 -4
  37. package/src/content/projects/polyframes.json +83 -0
  38. package/src/content/projects/rarebert.json +2 -2
  39. package/src/content/projects/webuser.json +2 -2
  40. package/src/content/schema.ts +7 -4
  41. package/src/content/sections.json +20 -13
  42. package/src/content/soundcloud.json +61 -13
  43. package/src/lib/clippy.ts +29 -8
  44. package/src/lib/history.ts +152 -0
  45. package/src/lib/markdown.tsx +11 -1
  46. package/src/lib/scrollTo.ts +45 -0
  47. package/src/lib/signals.tsx +271 -0
  48. package/src/lib/slashes.ts +20 -0
  49. package/src/lib/tabNav.ts +192 -0
  50. package/src/main.tsx +20 -4
  51. package/src/pages/BlogDirPage.tsx +37 -0
  52. package/src/pages/BlogPostPage.tsx +78 -3
  53. package/src/pages/ProjectPage.tsx +9 -3
  54. package/src/pages/WowPage.tsx +8 -3
  55. package/src/pages/index.ts +2 -0
  56. package/src/shell/App.tsx +19 -8
  57. package/src/shell/Clippy.tsx +13 -3
  58. package/src/shell/MenuBar.tsx +7 -4
  59. package/src/shell/resolveRoute.ts +43 -3
  60. package/src/shell/routerSignals.ts +34 -0
  61. package/src/styles/extras.css +20 -0
  62. package/src/styles/layout.css +2 -3
  63. package/src/styles/menu.css +1 -1
  64. package/src/styles/window.css +20 -8
  65. package/src/themes/pageSlide/index.ts +120 -42
  66. package/src/themes/pageSlide/pageSlide.css +20 -9
  67. package/src/virtual.d.ts +14 -0
  68. package/src/window/MaximizedWindow.tsx +100 -64
  69. package/src/window/OkButton.tsx +42 -25
  70. package/src/window/PageWindows.tsx +7 -0
  71. package/src/window/TitleBar.tsx +3 -1
  72. package/src/window/Window.tsx +132 -87
  73. package/src/window/closeSounds.ts +27 -0
  74. package/src/window/model.ts +11 -0
  75. package/src/window/state.tsx +301 -54
  76. package/src/window/themes.ts +23 -2
  77. package/test/content.test.js +15 -10
  78. package/test/deploy-pipeline.test.js +11 -11
  79. package/test/markdown-tables.test.js +96 -0
  80. package/test/soundcloud-refresh.test.js +68 -0
  81. package/test/tabNav.test.js +137 -0
  82. package/tsconfig.node.tsbuildinfo +1 -1
  83. package/tsconfig.tsbuildinfo +1 -1
  84. package/vite.config.ts +7 -1
  85. package/xp.css/dist/98.css +2 -0
  86. package/xp.css/dist/98.css.map +1 -0
  87. package/xp.css/dist/GUI.css +2 -0
  88. package/xp.css/dist/GUI.css.map +1 -0
  89. package/xp.css/dist/XP.css +2 -0
  90. package/xp.css/dist/XP.css.map +1 -0
  91. package/xp.css/dist/fonts/converted/PerfectDOSVGA437Win.woff +0 -0
  92. package/xp.css/dist/fonts/converted/PerfectDOSVGA437Win.woff2 +0 -0
  93. package/xp.css/dist/fonts/converted/ms_sans_serif.woff +0 -0
  94. package/xp.css/dist/fonts/converted/ms_sans_serif.woff2 +0 -0
  95. package/xp.css/dist/fonts/converted/ms_sans_serif_bold.woff +0 -0
  96. package/xp.css/dist/fonts/converted/ms_sans_serif_bold.woff2 +0 -0
  97. package/public/blog/4th.md +0 -28
  98. package/public/blog/wsl.1.md +0 -40
  99. package/src/window/hidden.ts +0 -22
  100. /package/public/blog/{ → archive/noise/}/321/200/321/203/320/275/320/270/321/201/321/207-/320/263/320/273/320/276/321/201/321/201/320/260/321/200/320/270/320/271.md" +0 -0
  101. /package/src/content/{characters.json → includes/characters.json} +0 -0
@@ -1,87 +1,116 @@
1
1
  {
2
2
  "slug": "herbstutil",
3
3
  "title": "herbstutil",
4
- "description": "A stdin filter that turns the verbose output of herbstclient attr into clean JSON - for scripting the herbstluftwm tiling window manager.",
4
+ "description": "The herbstluftwm compatibility layer: herbstclient attr output as clean typed JSON, shell completion mirroring herbstclient's own, and the parse/attr primitives every sibling tool builds on.",
5
5
  "github": "https://github.com/akinevz2/herbstutil",
6
6
  "content": {
7
7
  "heading": "herbstutil - JSON bridge to herbstluftwm",
8
8
  "content": [
9
- "herbstutil is a small command-line filter that post-processes the output of `herbstclient attr` into clean JSON - so the state of the herbstluftwm window manager can be consumed wherever JSON is spoken.",
9
+ "herbstutil is a small command-line tool that turns the output of `herbstclient attr` into clean, typed JSON - so the state of the herbstluftwm window manager can be consumed wherever JSON is spoken. It can run herbstclient itself (`herbstutil attr ...`) or parse piped output like a unix filter.",
10
10
  "[https://github.com/akinevz2/herbstutil](https://github.com/akinevz2/herbstutil)",
11
11
  {
12
12
  "heading": "herbstluftwm in a nutshell",
13
- "anchor": "herbstluftwm",
14
- "theme": "open",
15
13
  "content": [
16
14
  "herbstluftwm is a manual tiling window manager for Linux. Its core idea: the whole desktop is one global object tree - monitors, tags, clients (windows), settings - queried and modified over IPC with the companion tool herbstclient.",
17
15
  "The tree is probed with `herbstclient attr <path>`: it prints a short description of the node, its children, and a table of every attribute (typed, writable, hookable).",
18
16
  "```sh\n$ herbstclient attr clients. # children of the clients node\n$ herbstclient attr clients.focus. # introspect the focused window\n$ herbstclient attr clients.focus.tag # read a single leaf value\n```",
19
17
  "The catch: `attr` output is written for humans first - padded type tables, prose, legends. Great to read, fragile to parse."
20
- ]
18
+ ],
19
+ "theme": "open"
21
20
  },
22
21
  {
23
22
  "heading": "What herbstutil does",
24
- "anchor": "about",
25
- "status": "early release",
26
- "theme": "open",
23
+ "status": "v0.3.x - the compatibility layer",
27
24
  "content": [
28
- "herbstutil reads `herbstclient attr` output on stdin and rebuilds it as JSON, preserving the node's shape:",
29
- "value - the node's description; children - the names of the child nodes; attributes - every attribute as a name-value pair.",
25
+ "herbstutil rebuilds `herbstclient attr` output as JSON, preserving the node's shape: value - the node's description; children - the names of the child nodes; attributes - every attribute as a name-value pair.",
30
26
  "Where herbstclient speaks humans, herbstutil speaks machine.",
27
+ "It does not stop at unquoting: herbstclient annotates every attribute with a type hint in the first column of its listing, and herbstutil uses that hint to emit properly typed JSON.",
28
+ {
29
+ "heading": "Value typing",
30
+ "content": [
31
+ "s (string) - JSON string, outer quotes stripped",
32
+ "b (bool) - JSON boolean",
33
+ "i, u (int, uint) - JSON number",
34
+ "R (rectangle) - `WIDTHxHEIGHT+X+Y` becomes an object { x, y, width, height }",
35
+ "p (point) - `XxY` becomes an object { x, y }",
36
+ "c, r, n, f (color, regex, named value, font) - string",
37
+ "Leaf values (a single attribute) print no type hint, so a heuristic decides there: true/false become booleans, integers and decimals become numbers, everything else stays a string."
38
+ ],
39
+ "theme": "open"
40
+ },
31
41
  {
32
42
  "heading": "Usage",
33
- "theme": "open",
34
43
  "content": [
35
- "herbstutil is a stdin filter built with Bun and bunli, packaged as a single executable:",
36
- "```sh\n$ herbstclient attr clients. | herbstutil\n$ herbstclient attr clients.focus. | herbstutil --space 2\n```",
44
+ "Two ways to the same JSON: let herbstutil run herbstclient for you, or pipe herbstclient through the parse filter (the default command). Built with Bun and bunli, packaged as a single executable:",
45
+ "```sh\n$ herbstutil attr clients.focus. # runs herbstclient attr and parses it\n$ herbstclient attr clients. | herbstutil parse\n$ herbstclient attr clients. | herbstutil # parse is the default command\n```",
37
46
  "s, --space <n> - pretty-print with `n` spaces of indentation (default 4)",
38
- "It refuses to run attached to a terminal: herbstutil always reads from stdin."
39
- ]
47
+ "e, --escape - skip all type conversion and keep every value exactly as herbstclient printed it: strings keep their literal quotes, escaped inside the JSON string",
48
+ "`parse` refuses to run attached to a terminal: as a filter it always reads from stdin."
49
+ ],
50
+ "theme": "open"
40
51
  }
41
- ]
52
+ ],
53
+ "theme": "open"
42
54
  },
43
55
  {
44
56
  "heading": "Examples",
45
- "anchor": "examples",
46
- "theme": "open",
47
57
  "content": [
48
- "The same node, before and after `| herbstutil`.",
58
+ "The same nodes, before and after herbstutil.",
49
59
  {
50
60
  "heading": "Root node: herbstclient attr clients.",
51
- "theme": "open",
52
61
  "content": [
53
62
  "Raw:",
54
- "```text\n$ herbstclient attr clients.\nThe managed windows. For every (managed) window id there is an entry here.\n\n5 children:\n 0x400003.\n 0x700003.\n 0xc00003.\n 0xe80003.\n focus.\n0 attributes.\n .---- type\n | .-- writable\n | | .-- hookable\n V V V\n```",
55
- "Piped through herbstutil:",
56
- "```json\n{\n \"value\": \"The managed windows. For every (managed) window id there is an entry here.\",\n \"children\": [\n \"0x400003.\",\n \"0x700003.\",\n \"0xc00003.\",\n \"0xe80003.\",\n \"focus.\"\n ],\n \"attributes\": {}\n}\n```"
57
- ]
63
+ "```text\n$ herbstclient attr clients.\nThe managed windows. For every (managed) window id there is an entry here.\n\n4 children:\n 0x280003.\n 0x680004.\n 0x900003.\n focus.\n0 attributes.\n .---- type\n | .-- writable\n | | .-- hookable\n V V V\n```",
64
+ "Through herbstutil:",
65
+ "```json\n{\n \"value\": \"The managed windows. For every (managed) window id there is an entry here.\",\n \"children\": [\n \"0x280003.\",\n \"0x680004.\",\n \"0x900003.\",\n \"focus.\"\n ],\n \"attributes\": {}\n}\n```"
66
+ ],
67
+ "theme": "open"
58
68
  },
59
69
  {
60
70
  "heading": "Node with attributes: herbstclient attr clients.focus.",
61
- "theme": "open",
62
71
  "content": [
63
72
  "Raw (excerpt):",
64
- "```text\n$ herbstclient attr clients.focus.\na managed window\n\n1 child:\n parent_frame.\n24 attributes:\n s - - class = \"Alacritty\"\n b w h decorated = true\n b w h floating = false\n i - h pid = 61763\n s - h tag = \"work\"\n s - h title = \"OC | Customizing opencode and dotfiles\"\n b - h visible = true\n```",
65
- "Piped through herbstutil (excerpt - all 24 attributes arrive in the JSON):",
66
- "```json\n{\n \"value\": \"a managed window\",\n \"children\": [\n \"parent_frame.\"\n ],\n \"attributes\": {\n \"class\": \"\\\"Alacritty\\\"\",\n \"decorated\": \"true\",\n \"floating\": \"false\",\n \"pid\": \"61763\",\n \"tag\": \"\\\"work\\\"\",\n \"title\": \"\\\"OC | Customizing opencode and dotfiles\\\"\",\n \"urgent\": \"false\",\n \"visible\": \"true\",\n \"winid\": \"\\\"0x700003\\\"\"\n }\n}\n```",
67
- "Note how attribute values stay as raw strings - a reminder that everything coming from `attr` is text until you parse it downstream."
68
- ]
73
+ "```text\n$ herbstclient attr clients.focus.\na managed window\n\n1 child:\n parent_frame.\n24 attributes:\n .---- type\n | .-- writable\n | | .-- hookable\n V V V\n s - - class = \"Alacritty\"\n R - h content_geometry = 1255x662+13+34\n s - - class = \"Alacritty\"\n R - h content_geometry = 1255x662+13+34\n b w h decorated = true\n i - h pid = 403112\n s - - tag = \"work\"\n s - h title = \"OC | herbstutil tag 0.1.1b discrepancy\"\n b - h visible = true\n s - h winid = \"0x280003\"\n```",
74
+ "Through herbstutil (excerpt - all 24 attributes arrive in the JSON):",
75
+ "```json\n{\n \"value\": \"a managed window\",\n \"children\": [\n \"parent_frame.\"\n ],\n \"attributes\": {\n \"class\": \"Alacritty\",\n \"content_geometry\": {\n \"x\": 13,\n \"y\": 34,\n \"width\": 1255,\n \"height\": 662\n },\n \"decorated\": true,\n \"pid\": 403112,\n \"tag\": \"work\",\n \"title\": \"OC | herbstutil tag 0.1.1b discrepancy\",\n \"visible\": true,\n \"winid\": \"0x280003\"\n }\n}\n```",
76
+ "Attribute values arrive typed: strings unquoted, booleans and numbers real, rectangles as objects - herbstclient's type hint drives the conversion. Pass `--escape` to keep the raw text instead."
77
+ ],
78
+ "theme": "open"
69
79
  },
70
80
  {
71
81
  "heading": "Leaf node: herbstclient attr clients.focus.tag",
72
- "theme": "open",
73
82
  "content": [
74
83
  "Raw:",
75
84
  "```text\n$ herbstclient attr clients.focus.tag\nwork\n```",
76
- "Piped through herbstutil:",
85
+ "Through herbstutil:",
77
86
  "```json\n{\n \"value\": \"work\",\n \"children\": [],\n \"attributes\": {}\n}\n```"
78
- ]
87
+ ],
88
+ "theme": "open"
79
89
  }
80
- ]
90
+ ],
91
+ "theme": "open"
92
+ },
93
+ {
94
+ "heading": "The pure layer (the v0.3 split)",
95
+ "content": [
96
+ "herbstutil stayed deliberately small: parse/attr primitives only. The keybind state machines that briefly lived here (the mod-s/w/d/e/a/q/f/x compositions and the float registers) moved out to herbctl - its own project, one floor down on this page.",
97
+ "Everything downstream (herbctl, polyframes) imports parseAttr directly, bundled at build time; the CLI verbs stay for scripts and humans."
98
+ ],
99
+ "theme": "open"
100
+ },
101
+ {
102
+ "heading": "Shell completion, mirroring herbstclient",
103
+ "content": [
104
+ "herbstclient's completion model: the binary does the thinking (complete_shell <pos> <words...>), the shell scripts just delegate. herbstutil mirrors it - the complete-shell verb, plus bash/zsh scripts that are byte-structure twins of hlwm's own.",
105
+ "The attr verb's positional completes LIVE hlwm object paths: the request is delegated to herbstclient -q complete_shell itself, so clients.0x…, tags.by-name. and every attribute name arrive straight from the running WM.",
106
+ "Install the completion with the package scripts:",
107
+ "```sh\n$ npm run completion:install # bash + zsh, user-level\n$ herbstutil attr clients.<TAB> # the live tree, in your shell\n```",
108
+ "Published on npm: `npm i -g herbstutil` gives the command (it runs through bun) - or install from source with bun run build."
109
+ ],
110
+ "theme": "open"
81
111
  },
82
112
  {
83
113
  "heading": "Links",
84
- "theme": "open",
85
114
  "content": [
86
115
  {
87
116
  "heading": "GitHub repository",
@@ -95,7 +124,8 @@
95
124
  "heading": "herbstclient reference",
96
125
  "link": "https://herbstluftwm.org/herbstclient.html"
97
126
  }
98
- ]
127
+ ],
128
+ "theme": "open"
99
129
  }
100
130
  ]
101
131
  }
@@ -10,11 +10,11 @@
10
10
  "[https://github.com/akinevz2/lightdni-jssas-toggle](https://github.com/akinevz2/lightdni-jssas-toggle)",
11
11
  {
12
12
  "heading": "From the README",
13
- "theme": "open",
14
13
  "content": [
15
14
  "TypeScript utility package for applying and toggling CSS themes: theme classes and attributes on the root element, dynamic CSS variables, localStorage/cookie persistence, and accessibility metadata (color-scheme and aria-live announcements).",
16
15
  "A consolidated one-call setTheme API - dependency-safe, and works in vanilla JS/TS, React, and Vue projects."
17
- ]
16
+ ],
17
+ "theme": "open"
18
18
  }
19
19
  ]
20
20
  }
@@ -0,0 +1,67 @@
1
+ {
2
+ "slug": "on-deploy",
3
+ "title": "on-deploy",
4
+ "description": "The doftiles deployment orchestrator: verifies the WM-stack binaries, installs the missing ones through per-distro deploy scripts, runs the make install assurances (bun, postinstall trust, the herbctl binary), deploys the dependencies, and provisions the session stack from declarative profiles.",
5
+ "github": "https://github.com/akinevz2/on-deploy",
6
+ "content": {
7
+ "heading": "on-deploy - the deployment orchestrator",
8
+ "content": [
9
+ "on-deploy turns the dotfiles repo into a one-command deployment. It runs inside the doftiles checkout and reads two manifests: wm.requires (the required binaries; the last line names the platform - ubuntu, manjaro, arch, ... - selecting the <target>.deploy resolver) and deploy.profile (how the graphical session starts, which features, which units, which env). The make deploy TUI configures both before anything is stowed.",
10
+ "[https://github.com/akinevz2/on-deploy](https://github.com/akinevz2/on-deploy)",
11
+ {
12
+ "heading": "The verbs",
13
+ "content": [
14
+ "check - report the requirement state; exit 1 when anything is missing (also --json).",
15
+ "deploy - install every missing binary: resolve the package, show the command, confirm (Enter = yes), run it, then re-verify - a binary still missing after its command fails the run. --yes for non-interactive runs; --dry-run to preview.",
16
+ "provision - platform services per profile: the X server set, the ~/.xinitrc session line, a greetd + tuigreet greeter, the nested stack packages, the xrdp layer.",
17
+ "toolchain - the make install assurances: bun through npm when missing, trust of the global bun packages' postinstall scripts, the herbctl binary built from the submodule checkout when missing. (These used to be four separate Makefile recipes - bun-toolchain, bun-trust, on-deploy-ensure, herbctl-ensure - they are steps of one command now.)",
18
+ "deps - the dependency deployment: polyframes (the bar module / rofi menus binary), ensured on install, --force redeployed on update, --method source|npm|release per machine. The install method is recorded in ~/.config/doftiles.conf (stowed from the repo, so method changes show up as tracked diffs).",
19
+ "snapshot - collect a machine's pre-existing config into doftiles' defaults/ (a stow-shaped package) BEFORE the first deploy overwrites it - the machine's prior state, versioned in git, restorable with one make target.",
20
+ "configure - edit the deploy target and the required-package list from an interactive menu (or --target/--add/--remove flags)."
21
+ ],
22
+ "theme": "open"
23
+ },
24
+ {
25
+ "heading": "The profiles",
26
+ "content": [
27
+ "Four session models, co-installable where it makes sense:",
28
+ "wsl-systemd - NO display manager: hlwm runs as the systemd user unit herbst.service, waiting for the Windows-side X server (VcXsrv) to be reachable. The historical bypass; provision even checks the Windows partition for VcXsrv and offers a silent install from the SourceForge feed.",
29
+ "nested - hlwm inside an Xvfb framebuffer, shared over VNC (:5900) and browser noVNC (:6080), with an RDP surface layered on top (xrdp's Xvnc module attaches to the same framebuffer; 3389 stays free for the Windows side). The temporary profile, additive to a primary one.",
30
+ "xinit - startx runs ~/.xinitrc; no display manager.",
31
+ "greetd - greetd + tuigreet own the console (the bare-OS target).",
32
+ "A profile declares units (systemd user units, enabled additively) and env overrides (written to ~/.config/doftiles/env, read by the units via EnvironmentFile). The make deploy TUI selects the session model, the features, the units and the env - and writes deploy.profile before stowing anything."
33
+ ],
34
+ "theme": "open"
35
+ },
36
+ {
37
+ "heading": "Built to not hang, not lie",
38
+ "content": [
39
+ "Non-interactive runs abort cleanly demanding --yes instead of blocking on prompts; every install is re-verified; a failed install fails the run. The prompts ride a raw line reader (bun's readline wedges), and the menu works scripted or interactive. The deploy script contract is <target>.deploy <binary> -> the providing package, install <binary> -> the install command - the resolver per distro, not a package list."
40
+ ],
41
+ "theme": "open"
42
+ },
43
+ {
44
+ "heading": "Links",
45
+ "content": [
46
+ {
47
+ "heading": "GitHub repository",
48
+ "link": "https://github.com/akinevz2/on-deploy"
49
+ },
50
+ {
51
+ "heading": "doftiles (what it deploys)",
52
+ "link": "/projects/doftiles"
53
+ },
54
+ {
55
+ "heading": "herbctl (the binary the toolchain step builds)",
56
+ "link": "/projects/herbctl"
57
+ },
58
+ {
59
+ "heading": "polyframes (the artifact the deps step deploys)",
60
+ "link": "/projects/polyframes"
61
+ }
62
+ ],
63
+ "theme": "open"
64
+ }
65
+ ]
66
+ }
67
+ }
@@ -9,11 +9,11 @@
9
9
  "pagerts fetches a URL (or reads a local HTML file) and prints every external resource it references - links, meta tags, scripts, styles - as JSON.",
10
10
  {
11
11
  "heading": "From the README",
12
- "theme": "open",
13
12
  "content": [
14
13
  "PagerTS fetches web pages, parses their HTML, and reports each page's title, URL, and external resources - inspecting common resource-bearing tags, or scanning every element for selected link properties.",
15
14
  "Requires Node.js 20 or later; installs globally with `npm install --global pagerts`."
16
- ]
15
+ ],
16
+ "theme": "open"
17
17
  },
18
18
  {
19
19
  "heading": "Quick start",
@@ -46,7 +46,6 @@
46
46
  },
47
47
  {
48
48
  "heading": "Links",
49
- "theme": "open",
50
49
  "content": [
51
50
  {
52
51
  "heading": "npm package",
@@ -60,7 +59,8 @@
60
59
  "heading": "CHANGELOG",
61
60
  "link": "https://github.com/akinevz2/pagerts/blob/main/CHANGELOG.md"
62
61
  }
63
- ]
62
+ ],
63
+ "theme": "open"
64
64
  }
65
65
  ]
66
66
  }
@@ -0,0 +1,83 @@
1
+ {
2
+ "slug": "polyframes",
3
+ "title": "polyframes",
4
+ "description": "Polybar window-list renderer for herbstluftwm: a bunli/Bun CLI compiled to a standalone native binary - rofi menus, typed one-shot window rules, and the WM read as typed JSON via herbstutil; the float-register imperatives come from herbctl.",
5
+ "github": "https://github.com/akinevz2/polyframes",
6
+ "content": {
7
+ "heading": "polyframes - the polybar window-list renderer, as a native binary",
8
+ "content": [
9
+ "polyframes renders herbstluftwm's window state as the polybar center module: one label per (frame, window-class) group, decorated by state (focused gold underline, floating, minimized dimmed), with click/scroll actions that re-exec the binary itself. Built with Bun and bunli, compiled to a standalone executable - so it runs wherever the bar runs, no node, no nvm PATH, no shim.",
10
+ "[https://github.com/akinevz2/polyframes](https://github.com/akinevz2/polyframes)",
11
+ {
12
+ "heading": "The bar daemon",
13
+ "content": [
14
+ "A bare invocation is polybar's contract: print one bar line, then keep it fresh - a `herbstclient --idle` hook listener for instant focus/tag/title updates, plus a 1s layout poll that hashes `herbstclient dump` (frame splits and removals emit no hook in hlwm 0.9.5).",
15
+ "`polyframes bar` prints a single line and exits - the same pure renderer, scriptable."
16
+ ],
17
+ "theme": "open"
18
+ },
19
+ {
20
+ "heading": "Grouping model",
21
+ "content": [
22
+ "Clients on the focused tag arrive in WM order, enriched per window: class, title, minimized, floating, and its parent frame's flat index (`-1` when the root is unsplit).",
23
+ "Group keys: `minflt|wid` and `unframed|wid` are solo labels; `frame|frame|class` groups same-class windows sharing a frame. A group's representative is the frame's selected client - but only when it belongs to the group's class, so a mixed-class frame never leaks another group's title.",
24
+ "Render order keeps WM order, pushes minimized labels last, truncates to `char_limit` with an ellipsis, folds forbidden classes (the bar itself), and emits a `+N` overflow marker past `max_windows`."
25
+ ],
26
+ "theme": "open"
27
+ },
28
+ {
29
+ "heading": "The keybind registers live in doftiles",
30
+ "content": [
31
+ "The float-register state machines (mod-f / mod-x / mod-ctrl-f: float-focus, float-yank, zoom) live in herbctl - the keybinds spawn those herbctl verbs; they are documented in the [herbctl project](/projects/herbctl). The polyframes side of the same bindings is the frame surgery: tile/center/resize/fit re-executed in the bar's click actions."
32
+ ],
33
+ "theme": "open"
34
+ },
35
+ {
36
+ "heading": "The helper suite, migrated in",
37
+ "content": [
38
+ "The dotfiles' herbst helpers moved in as subcommands, so one binary manages them all:",
39
+ "`tags`, `hidden`, `windows`, `launch` - the rofi menus (script-mode protocol, NUL-separated rows, per-row icons and states)",
40
+ "`switcher-menu`, `window-menu` - detached menu targets the click actions spawn",
41
+ "`tile` - closest-empty-frame navigation or split (the frame-tree surgery)",
42
+ "`center` - decoration-aware centering (`--wid` targets a specific window's own frame)",
43
+ "`resize` - delta nudges, frame/root deco-flush fills, explicit content rects",
44
+ "`fit` - constraint pass: shrink oversized, nudge off-screen (monitor or frame target)",
45
+ "`spawn` - one-shot `herbstclient rule once` spawns with typed flags (`--class/--float/--center/--tag`)"
46
+ ],
47
+ "theme": "open"
48
+ },
49
+ {
50
+ "heading": "herbstutil + herbctl inside",
51
+ "content": [
52
+ "Two sibling libraries ride along at build time:",
53
+ "herbstutil (npm) - parseAttr for every WM read: typed JSON out of hlwm's attr output, one round trip instead of a per-client attribute walk.",
54
+ "herbctl - the imperatives the scroll/click actions run: float+center, minimize-keep-frame, empty-frame removal - the keybind state machines as importable functions.",
55
+ "Both resolve as sibling submodules in the doftiles depends/ layout and from the npm/GitHub registries everywhere else."
56
+ ],
57
+ "theme": "open"
58
+ },
59
+ {
60
+ "heading": "Links",
61
+ "content": [
62
+ {
63
+ "heading": "GitHub repository",
64
+ "link": "https://github.com/akinevz2/polyframes"
65
+ },
66
+ {
67
+ "heading": "doftiles (the dotfiles it ships from)",
68
+ "link": "https://github.com/akinevz2/doftiles"
69
+ },
70
+ {
71
+ "heading": "herbctl (the keybind imperatives)",
72
+ "link": "https://github.com/akinevz2/herbctl"
73
+ },
74
+ {
75
+ "heading": "herbstutil (the JSON bridge)",
76
+ "link": "https://github.com/akinevz2/herbstutil"
77
+ }
78
+ ],
79
+ "theme": "open"
80
+ }
81
+ ]
82
+ }
83
+ }
@@ -10,13 +10,13 @@
10
10
  "[https://github.com/akinevz2/rarebert](https://github.com/akinevz2/rarebert)",
11
11
  {
12
12
  "heading": "From the README",
13
- "theme": "open",
14
13
  "content": [
15
14
  "Rarebert scaffolds modules, opens them in your editor side-by-side with opencode, lets the model implement them, summarises the diff, and commits - then runs the result and remembers what happened.",
16
15
  "Built around a TypeScript runtime (`lib/runtime/` + Bun) that orchestrates $EDITOR, git, and opencode, and a memo subsystem that threads observations between the model and your shell.",
17
16
  "Each turn ends in a commit, so the working tree is always clean before the next cycle.",
18
17
  "Work in progress: the branch is mid-port from Node.js/ESM to TypeScript/Bun, not yet stable for daily use."
19
- ]
18
+ ],
19
+ "theme": "open"
20
20
  }
21
21
  ]
22
22
  }
@@ -10,11 +10,11 @@
10
10
  "[https://github.com/akinevz2/webuser](https://github.com/akinevz2/webuser)",
11
11
  {
12
12
  "heading": "From the README",
13
- "theme": "open",
14
13
  "content": [
15
14
  "A CLI built with Bunli on the Bun runtime: `bun install`, `bun dev -- [command]`, `bun run build`.",
16
15
  "MIT licensed."
17
- ]
16
+ ],
17
+ "theme": "open"
18
18
  }
19
19
  ]
20
20
  }
@@ -11,10 +11,13 @@ export type Embed = {
11
11
  };
12
12
 
13
13
  /**
14
- * A content-file include directive: `{"include": "<name>"}` expands, at
15
- * load time (src/content/index.ts), into the referenced content file's
16
- * top-level Section as a nested child — JSON cannot import, so this is
17
- * the "include" mechanism for reusing a section across pages.
14
+ * A content-file include directive: `{"include": "<file>"}` expands, at
15
+ * load time (src/content/index.ts), into the referenced Section under
16
+ * src/content/includes/ as a nested child — JSON cannot import, so this
17
+ * is the "include" mechanism for reusing a section across pages.
18
+ * <file> is the FULL file name: a `.json` holding a Section, or an
19
+ * author-written `.md` file wrapped as one. Anything dropped into that
20
+ * directory is includable — no registration needed.
18
21
  */
19
22
  export type IncludeRef = { include: string };
20
23
 
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "heading": "Welcome to kine's website!",
3
- "theme": "open",
4
3
  "content": [
5
4
  "I sometimes change the blurb on the front page here,",
6
5
  "Enjoy your visit!",
@@ -48,7 +47,9 @@
48
47
  "content": [
49
48
  "recently:",
50
49
  {
51
- "content": ["graduated University of Sussex!"]
50
+ "content": [
51
+ "graduated University of Sussex!"
52
+ ]
52
53
  },
53
54
  "currently:",
54
55
  {
@@ -106,16 +107,15 @@
106
107
  "content": [
107
108
  "**public live projects**:",
108
109
  {
109
- "heading": "website, my personal website",
110
- "link": "https://www.npmjs.com/package/website-xp-phone"
111
- },
112
- {
113
- "heading": "pagerts, my first npm package",
114
- "link": "https://www.npmjs.com/package/pagerts"
110
+ "link": "https://github.com/akinevz2/",
111
+ "heading": "my github",
112
+ "content": [
113
+ "[projects here](https://github.com/akinevz2?tab=repositories)"
114
+ ]
115
115
  },
116
116
  {
117
- "heading": "rarebert, akinevz2/rarebert",
118
- "link": "https://github.com/akinevz2/rarebert/commit/936a6ff"
117
+ "link": "/projects",
118
+ "heading": "my projects page on this website"
119
119
  }
120
120
  ]
121
121
  },
@@ -133,11 +133,17 @@
133
133
  "arts and expressions of free will",
134
134
  {
135
135
  "heading": "music",
136
- "link": "https://soundcloud.com/akinevz"
136
+ "link": "https://soundcloud.com/akinevz",
137
+ "content": [
138
+ "where i post really heavy music"
139
+ ]
137
140
  },
138
141
  {
139
142
  "heading": "another music",
140
- "link": "https://soundcloud.com/akinevz2"
143
+ "link": "https://soundcloud.com/akinevz2",
144
+ "content": [
145
+ "where i post music for the sake of memes"
146
+ ]
141
147
  },
142
148
  "and endlessly, deeply",
143
149
  {
@@ -173,5 +179,6 @@
173
179
  }
174
180
  ]
175
181
  }
176
- ]
182
+ ],
183
+ "theme": "open"
177
184
  }
@@ -1,9 +1,21 @@
1
1
  {
2
2
  "source": "https://soundcloud.com/akinevz",
3
- "generatedAt": "2026-10-24T11:54:46.192Z",
4
- "asOfUploadingTrackCount": 91,
5
- "trackCount": 91,
3
+ "generatedAt": "2026-10-28T04:29:58.385Z",
4
+ "asOfUploadingTrackCount": 95,
5
+ "trackCount": 95,
6
6
  "tracks": [
7
+ {
8
+ "owner": "akinevz",
9
+ "path": "/akinevz/on-a-saturday",
10
+ "title": "Together",
11
+ "url": "https://soundcloud.com/akinevz/on-a-saturday"
12
+ },
13
+ {
14
+ "owner": "akinevz",
15
+ "path": "/akinevz/amorphous",
16
+ "title": "Rendexvous",
17
+ "url": "https://soundcloud.com/akinevz/amorphous"
18
+ },
7
19
  {
8
20
  "owner": "akinevz",
9
21
  "path": "/akinevz/roam",
@@ -96,9 +108,9 @@
96
108
  },
97
109
  {
98
110
  "owner": "akinevz",
99
- "path": "/akinevz/dresscode",
100
- "title": "Memento Mori",
101
- "url": "https://soundcloud.com/akinevz/dresscode"
111
+ "path": "/akinevz/corporate",
112
+ "title": "ASCII Art",
113
+ "url": "https://soundcloud.com/akinevz/corporate"
102
114
  },
103
115
  {
104
116
  "owner": "akinevz",
@@ -169,7 +181,7 @@
169
181
  {
170
182
  "owner": "akinevz",
171
183
  "path": "/akinevz/letdown",
172
- "title": "Open Door (Letdown)",
184
+ "title": "Letdown",
173
185
  "url": "https://soundcloud.com/akinevz/letdown"
174
186
  },
175
187
  {
@@ -352,6 +364,18 @@
352
364
  "title": "They Were Laid to Rest Cont.",
353
365
  "url": "https://soundcloud.com/akinevz/u-dont-know-gabber"
354
366
  },
367
+ {
368
+ "owner": "akinevz2",
369
+ "path": "/akinevz2/dresscode",
370
+ "title": "Momento Mori",
371
+ "url": "https://soundcloud.com/akinevz2/dresscode"
372
+ },
373
+ {
374
+ "owner": "akinevz2",
375
+ "path": "/akinevz2/diagonal",
376
+ "title": "Slanted",
377
+ "url": "https://soundcloud.com/akinevz2/diagonal"
378
+ },
355
379
  {
356
380
  "owner": "akinevz2",
357
381
  "path": "/akinevz2/wat",
@@ -556,8 +580,20 @@
556
580
  "owner": "akinevz",
557
581
  "source": "https://soundcloud.com/akinevz",
558
582
  "profileImageUrl": null,
559
- "trackCount": 58,
583
+ "trackCount": 60,
560
584
  "tracks": [
585
+ {
586
+ "owner": "akinevz",
587
+ "path": "/akinevz/on-a-saturday",
588
+ "title": "Together",
589
+ "url": "https://soundcloud.com/akinevz/on-a-saturday"
590
+ },
591
+ {
592
+ "owner": "akinevz",
593
+ "path": "/akinevz/amorphous",
594
+ "title": "Rendexvous",
595
+ "url": "https://soundcloud.com/akinevz/amorphous"
596
+ },
561
597
  {
562
598
  "owner": "akinevz",
563
599
  "path": "/akinevz/roam",
@@ -650,9 +686,9 @@
650
686
  },
651
687
  {
652
688
  "owner": "akinevz",
653
- "path": "/akinevz/dresscode",
654
- "title": "Memento Mori",
655
- "url": "https://soundcloud.com/akinevz/dresscode"
689
+ "path": "/akinevz/corporate",
690
+ "title": "ASCII Art",
691
+ "url": "https://soundcloud.com/akinevz/corporate"
656
692
  },
657
693
  {
658
694
  "owner": "akinevz",
@@ -723,7 +759,7 @@
723
759
  {
724
760
  "owner": "akinevz",
725
761
  "path": "/akinevz/letdown",
726
- "title": "Open Door (Letdown)",
762
+ "title": "Letdown",
727
763
  "url": "https://soundcloud.com/akinevz/letdown"
728
764
  },
729
765
  {
@@ -912,8 +948,20 @@
912
948
  "owner": "akinevz2",
913
949
  "source": "https://soundcloud.com/akinevz2",
914
950
  "profileImageUrl": null,
915
- "trackCount": 33,
951
+ "trackCount": 35,
916
952
  "tracks": [
953
+ {
954
+ "owner": "akinevz2",
955
+ "path": "/akinevz2/dresscode",
956
+ "title": "Momento Mori",
957
+ "url": "https://soundcloud.com/akinevz2/dresscode"
958
+ },
959
+ {
960
+ "owner": "akinevz2",
961
+ "path": "/akinevz2/diagonal",
962
+ "title": "Slanted",
963
+ "url": "https://soundcloud.com/akinevz2/diagonal"
964
+ },
917
965
  {
918
966
  "owner": "akinevz2",
919
967
  "path": "/akinevz2/wat",