diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-26 11:08:49 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-26 11:08:49 +0100 |
| commit | 79408ae88bccf691106ce8f7c18f4be107ad3c4e (patch) | |
| tree | a7b499bafcc9d99f74686f66da5922155e786a46 /desktop/modules/mail | |
| parent | f13400f7aada49daae66102e5fc2afa63c9c2c46 (diff) | |
| download | quickshell-79408ae88bccf691106ce8f7c18f4be107ad3c4e.tar.gz quickshell-79408ae88bccf691106ce8f7c18f4be107ad3c4e.zip | |
feat(mimeapps): parse and edit mimeapps.list
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>
Diffstat (limited to 'desktop/modules/mail')
0 files changed, 0 insertions, 0 deletions
