Skip to content

Commit

Permalink
JC: Sort mime entries
Browse files Browse the repository at this point in the history
  • Loading branch information
jayden-chan committed Jan 30, 2025
1 parent 49b0645 commit 1ee8a76
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions nix/home/mime.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ in
xdg.mimeApps.defaultApplications = {
"application/json" = [ basic-text-editor ];
"application/pdf" = [ zathura ];
"application/x-extension-htm" = [ zen-browser ];
"application/x-extension-html" = [ zen-browser ];
"application/x-extension-shtml" = [ zen-browser ];
"application/x-extension-xht" = [ zen-browser ];
"application/x-extension-xhtml" = [ zen-browser ];
"application/xhtml+xml" = [ zen-browser ];
"application/zip" = [ file-roller ];
"audio/flac" = [ mpv ];
"audio/mpeg" = [ mpv ];
Expand All @@ -27,34 +33,27 @@ in
"image/webp" = [ eog ];
"image/x-portable-pixmap" = [ eog ];
"text/csv" = [ basic-text-editor ];
"text/html" = [ zen-browser ];
"text/plain" = [ basic-text-editor ];
"text/xml" = [ basic-text-editor ];
"video/mp4" = [ mpv ];
"video/x-matroska" = [ mpv ];

"x-scheme-handler/chrome" = [ zen-browser ];
"x-scheme-handler/http" = [ zen-browser ];
"x-scheme-handler/https" = [ zen-browser ];
"x-scheme-handler/chrome" = [ zen-browser ];
"text/html" = [ zen-browser ];
"application/x-extension-htm" = [ zen-browser ];
"application/x-extension-html" = [ zen-browser ];
"application/x-extension-shtml" = [ zen-browser ];
"application/xhtml+xml" = [ zen-browser ];
"application/x-extension-xhtml" = [ zen-browser ];
"application/x-extension-xht" = [ zen-browser ];
};

xdg.mimeApps.associations.added = {
"x-scheme-handler/http" = [ zen-browser ];
"x-scheme-handler/https" = [ zen-browser ];
"x-scheme-handler/chrome" = [ zen-browser ];
"text/html" = [ zen-browser ];
"application/x-extension-htm" = [ zen-browser ];
"application/x-extension-html" = [ zen-browser ];
"application/x-extension-shtml" = [ zen-browser ];
"application/xhtml+xml" = [ zen-browser ];
"application/x-extension-xhtml" = [ zen-browser ];
"application/x-extension-xht" = [ zen-browser ];
"application/x-extension-xhtml" = [ zen-browser ];
"application/x-msdownload" = [ protontricks ];
"application/xhtml+xml" = [ zen-browser ];
"text/html" = [ zen-browser ];
"x-scheme-handler/chrome" = [ zen-browser ];
"x-scheme-handler/http" = [ zen-browser ];
"x-scheme-handler/https" = [ zen-browser ];
};
}

0 comments on commit 1ee8a76

Please sign in to comment.