diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-02 22:31:53 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-02 22:31:53 -0400 |
| commit | 86c8eea49718555308a5dd57c040e2140f438512 (patch) | |
| tree | 3cb03319ac0957869fabe3487054f39ddc8c97fb /todo.org | |
| parent | 703f106dfc30e2b10ab9eec1ceb6c64434d2f7d6 (diff) | |
| download | archsetup-86c8eea49718555308a5dd57c040e2140f438512.tar.gz archsetup-86c8eea49718555308a5dd57c040e2140f438512.zip | |
docs(spec): swallow pattern reassigned — the file manager is dirvish, not nautilus
Craig corrected the target: Super+F opens the dirvish popup (an Emacs frame), so the swallow belongs in elisp, where it's strictly better — Emacs launches the viewer, so a directly-spawned handler plus a process sentinel gives exact hide/restore and a failure notify, no window-event heuristics. Spec cancelled with the gio double-fork finding kept for reference; task closed as reassigned.
Diffstat (limited to 'todo.org')
| -rw-r--r-- | todo.org | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -73,11 +73,12 @@ The script stages each config through a =wgpvpn.conf= temp copy (NM's import nam *** 2026-07-02 Thu @ 21:58:00 -0400 Test surface complete across the phases Probe suites over fake tailscale/nmcli/protonvpn (19, phase 1), panel-model Tunnels coverage (22, phase 2), diag overlay-ownership cases (11, phase 3), badge suite (4, phase 4) — all in dotfiles; VM assertions for phase 5 in archsetup 0389790; the import-script suite (10, phase 6) closes the set. -** TODO [#B] File-manager swallow pattern :feature:hyprland: +** CANCELLED [#B] File-manager swallow pattern :feature:hyprland: +CLOSED: [2026-07-02 Thu] :PROPERTIES: :LAST_REVIEWED: 2026-07-02 :END: -Initial spec written 2026-07-02: [[file:docs/design/2026-07-02-file-manager-swallow-spec.org]] (DRAFT — four decisions await Craig's review before build; event-listener daemon in dotfiles, touchpad-auto kin). +Reassigned to .emacs.d 2026-07-02 (handoff: =~/.emacs.d/inbox/2026-07-02-2231-from-archsetup-dirvish-popup-swallow-handoff.org=). The "file manager" is the dirvish popup (Super+F, an Emacs frame), not nautilus — so the fix is elisp in dirvish's external-open path (=cj/xdg-open=): spawn the handler directly with =start-process=, hide the popup frame, restore it from the process sentinel, notify on non-zero exit. The spec drafted here first ([[file:docs/design/2026-07-02-file-manager-swallow-spec.org]], now CANCELLED) records the feasibility finding that stays useful: gio/xdg-open launches double-fork, so no PID-ancestry approach (Hyprland native swallow included) can ever connect viewer to launcher. When the file manager launches another app, it should hide to a special workspace (the "swallow" pattern) and return when that process ends, rather than vanishing. Today it disappears with no signal of whether it's coming back, so the user can't tell success from failure — they should quit explicitly instead. Origin: roam inbox capture. |
