aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs/2026-11-26-default-apps-design.md
AgeCommit message (Collapse)AuthorFilesLines
2 daysfeat(mimeapps): parse and edit mimeapps.listDanilo M.1-1/+1
Pure functions over the file text for the default apps page: read [Default Applications], set or remove one type, and map the .desktop files' MimeType= lines to desktop ids. Every edit touches one line and leaves [Added Associations], comments and blank lines as they were; a remove keeps the section header so the text written is never empty. The spec's stale-app check moves to DesktopEntries.byId: an installed app without a MimeType= line is absent from the scan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 daysdocs(spec): default apps settings pageDanilo M.1-0/+118
A settings page over ~/.config/mimeapps.list: role rows (browser, mail, text, ...) that set a group of types at once, and the explicit entries, editable and removable. The page owns the file rather than going through xdg-mime, which cannot remove an entry, and Quickshell's DesktopEntry has no mimeTypes, so the handlers come from a grep over the .desktop files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>