Repository navigation
feat(dfm): wire install.sh to the in-tree stoa-dfm fork - #68
Merged
Merged
Conversation
The vendor/fork pattern for DFM was scaffolded in #66/#67 but nothing actually consumed it — install.sh skipped DFM entirely, and post-install.sh still git-cloned the upstream repo into ~/.local/share/dfm-app on every run, ignoring scripts/stoa-dfm/. This makes install.sh (the dotfiles-only entry point) install DFM editable from scripts/stoa-dfm/ via pipx (PEP 668 friendly), falling back to a user-local venv. "Editable" keeps the symlink-style semantics the rest of the repo relies on: `git pull` propagates DFM changes to the running binary without re-running the installer. The duplicate clone block in post-install.sh is dropped — it now delegates to install.sh like every other Stoa script does. The python/gtk4/libadwaita runtime deps it lists stay put. stoa-doctor.sh now flags a missing `dfm` binary so broken installs surface on login instead of only when Super+G is pressed. A data/dfm.desktop entry is added so rofi drun and app grids pick DFM up; install.sh symlinks it into ~/.local/share/applications/. The file lives in scripts/stoa-dfm/data/ (the fork) and is mirrored into scripts/vendor/dfm/data/ to keep the upstream snapshot aligned with the matching DFM commit on this branch. https://claude.ai/code/session_01C9MCwSGnmdcwA55X394WfA
VictorGSchneider
marked this pull request as ready for review
April 21, 2026 22:50
2 tasks done
VictorGSchneider
added a commit
that referenced
this pull request
Apr 21, 2026
## Summary Follow-up to #68 — the integration is wired up in code but the README still described the old state. This documents what actually happens now. ## What changed - DFM section now explains that `install.sh` installs the in-tree fork at `scripts/stoa-dfm/` as an editable pipx (or venv) package, links the XDG desktop entry, and that `stoa-doctor` flags a missing `dfm` binary. - Vendored-upstreams list now includes DFM alongside BRCS.sh. - Launcher note: DFM is also reachable from rofi drun, not just `Super+G`. ## Test plan - [x] Diff reviewed — only `README.md` touched. - [x] Render check on github.com. https://claude.ai/code/session_01C9MCwSGnmdcwA55X394WfA
VictorGSchneider
added a commit
that referenced
this pull request
May 9, 2026
## Summary The vendor/fork scaffolding for DFM landed in #66/#67 but nothing actually consumed it: `install.sh` skipped DFM entirely, and `setup/post-install.sh` still `git clone`d `VictorGSchneider/DFM` into `~/.local/share/dfm-app` on every run, ignoring `scripts/stoa-dfm/`. This PR makes the installers finally use the in-tree fork. ## What changed - **`install.sh`** — installs DFM editable from `scripts/stoa-dfm/` via `pipx` (preferred, PEP 668 friendly) with a user-local venv fallback. "Editable" preserves the symlink-style semantics the rest of the repo relies on: `git pull` on StoaLinux propagates DFM changes to the running binary without re-running the installer, matching the behaviour called out in the README. - **`setup/post-install.sh`** — drops the `git clone https://github.com/VictorGSchneider/DFM.git` block. `install.sh` is already invoked from post-install, so DFM gets installed once, from the fork, via the same path as every other `stoa-*` script. Runtime deps in `$DFM_PKGS` (python / python-gobject / gtk4 / libadwaita) are unchanged. - **`scripts/stoa-doctor.sh`** — adds a `_check_bin dfm` entry so a missing binary shows up in the login doctor report instead of only surfacing when the user hits `Super+G`. - **`scripts/stoa-dfm/data/dfm.desktop`** — XDG entry for the fork, so rofi drun / app grids discover DFM. `install.sh` symlinks it into `~/.local/share/applications/`. - **`scripts/vendor/dfm/data/dfm.desktop`** — mirrors the fork so the vendored upstream snapshot stays aligned with the matching commit on `VictorGSchneider/DFM@claude/integrate-dfm-stoalinux-U50VJ` (the same `data/dfm.desktop` file is added there). Next `sync-upstream.sh dfm` after upstream merges will be a no-op for this path. ## Test plan - [ ] `bash -n install.sh setup/post-install.sh scripts/stoa-doctor.sh` (done locally, passes) - [ ] On a fresh Arch box with `pipx`: `./install.sh` — verify `dfm` resolves to `~/.local/bin/dfm`, launches GTK4 window, and the `.desktop` entry shows up in rofi drun. - [ ] On a box without `pipx` (venv fallback): `./install.sh` — verify `~/.local/share/dfm-venv/bin/dfm` is created and `~/.local/bin/dfm` is the symlink target. - [ ] Re-run `./install.sh` — should be idempotent (pipx `--force` upgrades, venv re-creates without error). - [ ] `stoa-doctor` with `dfm` uninstalled — verify the `[FAIL]` entry appears in `~/.config/stoa/doctor.log` and the dunst notification fires. - [ ] `Super+G` from Hyprland and i3 sessions. ## Paired change `VictorGSchneider/DFM` on the same branch name adds the matching upstream `data/dfm.desktop` so the fork/vendor pair tracks upstream without drift. https://claude.ai/code/session_01C9MCwSGnmdcwA55X394WfA
VictorGSchneider
added a commit
that referenced
this pull request
May 9, 2026
## Summary Follow-up to #68 — the integration is wired up in code but the README still described the old state. This documents what actually happens now. ## What changed - DFM section now explains that `install.sh` installs the in-tree fork at `scripts/stoa-dfm/` as an editable pipx (or venv) package, links the XDG desktop entry, and that `stoa-doctor` flags a missing `dfm` binary. - Vendored-upstreams list now includes DFM alongside BRCS.sh. - Launcher note: DFM is also reachable from rofi drun, not just `Super+G`. ## Test plan - [x] Diff reviewed — only `README.md` touched. - [x] Render check on github.com. https://claude.ai/code/session_01C9MCwSGnmdcwA55X394WfA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The vendor/fork scaffolding for DFM landed in #66/#67 but nothing actually consumed it:
install.shskipped DFM entirely, andsetup/post-install.shstillgit clonedVictorGSchneider/DFMinto~/.local/share/dfm-appon every run, ignoringscripts/stoa-dfm/. This PR makes the installers finally use the in-tree fork.What changed
install.sh— installs DFM editable fromscripts/stoa-dfm/viapipx(preferred, PEP 668 friendly) with a user-local venv fallback. "Editable" preserves the symlink-style semantics the rest of the repo relies on:git pullon StoaLinux propagates DFM changes to the running binary without re-running the installer, matching the behaviour called out in the README.setup/post-install.sh— drops thegit clone https://github.com/VictorGSchneider/DFM.gitblock.install.shis already invoked from post-install, so DFM gets installed once, from the fork, via the same path as every otherstoa-*script. Runtime deps in$DFM_PKGS(python / python-gobject / gtk4 / libadwaita) are unchanged.scripts/stoa-doctor.sh— adds a_check_bin dfmentry so a missing binary shows up in the login doctor report instead of only surfacing when the user hitsSuper+G.scripts/stoa-dfm/data/dfm.desktop— XDG entry for the fork, so rofi drun / app grids discover DFM.install.shsymlinks it into~/.local/share/applications/.scripts/vendor/dfm/data/dfm.desktop— mirrors the fork so the vendored upstream snapshot stays aligned with the matching commit onVictorGSchneider/DFM@claude/integrate-dfm-stoalinux-U50VJ(the samedata/dfm.desktopfile is added there). Nextsync-upstream.sh dfmafter upstream merges will be a no-op for this path.Test plan
bash -n install.sh setup/post-install.sh scripts/stoa-doctor.sh(done locally, passes)pipx:./install.sh— verifydfmresolves to~/.local/bin/dfm, launches GTK4 window, and the.desktopentry shows up in rofi drun.pipx(venv fallback):./install.sh— verify~/.local/share/dfm-venv/bin/dfmis created and~/.local/bin/dfmis the symlink target../install.sh— should be idempotent (pipx--forceupgrades, venv re-creates without error).stoa-doctorwithdfmuninstalled — verify the[FAIL]entry appears in~/.config/stoa/doctor.logand the dunst notification fires.Super+Gfrom Hyprland and i3 sessions.Paired change
VictorGSchneider/DFMon the same branch name adds the matching upstreamdata/dfm.desktopso the fork/vendor pair tracks upstream without drift.https://claude.ai/code/session_01C9MCwSGnmdcwA55X394WfA