Add MIME defaults
This commit is contained in:
parent
cbbb38283b
commit
23af1ef5ea
1 changed files with 23 additions and 0 deletions
|
@ -57,6 +57,29 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.mimeApps =
|
||||||
|
let
|
||||||
|
browser = "firefox.desktop";
|
||||||
|
image-viewer = "nsxiv.desktop";
|
||||||
|
in {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
defaultApplications = {
|
||||||
|
"x-scheme-handler/http" = browser;
|
||||||
|
"x-scheme-handler/https" = browser;
|
||||||
|
"x-scheme-handler/chrome" = browser;
|
||||||
|
"text/html" = browser;
|
||||||
|
"application/x-extension-htm" = browser;
|
||||||
|
"application/x-extension-html" = browser;
|
||||||
|
"application/x-extension-shtml" = browser;
|
||||||
|
"application/xhtml+xml" = browser;
|
||||||
|
"application/x-extension-xhtml" = browser;
|
||||||
|
"application/x-extension-xht" = browser;
|
||||||
|
"image/jpeg" = image-viewer;
|
||||||
|
"image/png" = image-viewer;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue