nix-config/home/mime-apps.nix
Donovan Glover 5d5c4d7853
mime-apps: specify text/html and application/pdf
Necessary due to Chromium wanting to open these files instead.
2024-10-10 09:21:28 -04:00

19 lines
569 B
Nix

{
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = "librewolf.desktop";
"text/markdown" = "nvim.desktop";
"text/plain" = "nvim.desktop";
"image/png" = "pqiv.desktop";
"image/jpeg" = "pqiv.desktop";
"image/gif" = "org.qutebrowser.qutebrowser.desktop";
"application/pdf" = "org.pwmt.zathura-pdf-mupdf.desktop";
"application/x-wine-extension-osz" = "osu-stable.desktop";
"x-scheme-handler/http" = "librewolf.desktop";
"x-scheme-handler/https" = "librewolf.desktop";
};
};
}