Repository navigation
fix(ml4w): keep Dreamcoder working on ML4W 2.16 - #11
Merged
Merged
Conversation
- SUPER+Tab opens the overview from ~/.local/share/quickshell-overview, the location ML4W 2.16 installs it to. - Port ALT+B statusbar autohide, ALT+D dock autohide and the rewritten AZERTY detection; AZERTY keysyms are bound only on AZERTY layouts since the profile owns the digit workspace binds. - Reload Dock stays unbound: 2.16 moved it to SHIFT+D, which the profile uses for the Dreamcoder theme toggle. - Add bats checks for Lua syntax, overview path, ported toggles and profile collisions.
- apply-ml4w-hooks.sh: the ML4W wallpaper runner is the primary target; its hook is a marked block replaced on every run, so re-running after an ML4W upgrade restores it without duplicates, migrates the old unmarked block and keeps a symlinked runner a symlink. waypaper is hooked only when its config exists (ML4W 2.16 no longer installs it). - generate-custom-lua.sh: custom.lua, a file ML4W never ships, loads dreamcoder-colors behind an existence guard, replacing the require that had to be injected into ML4W's hyprland.lua. - doctor.py accepts the loader from custom.lua (legacy hyprland.lua still ok). - doctor.sh / verify-ml4w-setup.sh accept colors.lua and colors.conf as managed regular files when their bytes match a Dreamcoder variant: the theme sync writes through the path and only flips existing symlinks. - Tests use ML4W 2.16's ml4w-wallpaper as fixture.
- Pin ML4W to tag 2.16 (3960570, also remote HEAD) and Gentleman.Dots to main 6f44b79, both re-verified with git ls-remote on 2026-09-28; the tag is recorded in provenance and docs/sources.md since the schema allows no extra upstream keys. - Document the ML4W 2.16 keybind delta and the rule that Dreamcoder hooks live in Dreamcoder-owned files (custom.lua loader, re-appliable runner hook, optional waypaper, regular colour files). - Point the install checklist at custom.lua for the colour loader. - Track the new pins in the verify-repo-sync test fixture.
Only CONTROL routes set PYTHONPATH; sync, preview and the other Python entrypoints failed with ModuleNotFoundError unless the package was installed.
…anaged The theme sync renders waybar/colors.css in place; verify required a symlink and failed on ML4W 2.16. Same rule as the Hyprland colour files.
4 tasks done
Dreamcoder08
force-pushed
the
pr/01-ml4w-2.16-compat
branch
from
September 29, 2026 18:47
b85b259 to
02c1ea2
Compare
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
ML4W 2.16 moved the Quickshell overview, dropped Waybar/waypaper pieces and rewrites the files Dreamcoder used to inject hooks into. This slice makes the ML4W integration survive upgrades and pins the new upstreams.
Changes
ml4w-wallpaper; waypaper hooked only when presentdreamcoder-colorsloaded fromcustom.lua(a file ML4W never ships)waybar/colors.cssdreamcoderdispatcher exportsPYTHONPATHfor every Python route3960570), Gentleman.Dots6f44b79Verification
bats tests/ml4w/andpython -m pytest tests/green on the slice tip; shellcheck andluac -pclean; applied and verified on a live ML4W 2.16 machine (verify-ml4w-setup.sh20 passed / 0 failed).Chain Context
main)mainmain)mainChain Overview
Scope
Autonomy