fix(browsers): PDFs open in Firefox, not Chromium
This commit is contained in:
1 parent
4d2fbef15a
commit
95c65d29dc
1 file changed
+3
-1
@@ -130,12 +130,14 @@ in
|
||||
|
||||
# Both browsers claim x-scheme-handler/http in their desktop entries, and
|
||||
# with two candidates xdg-open picks by whatever order it finds them in.
|
||||
# These four types are exactly what firefox.desktop declares.
|
||||
# The first four types are exactly what firefox.desktop declares; PDFs go to
|
||||
# Firefox's built-in viewer as well.
|
||||
xdg.mime.defaultApplications = {
|
||||
"text/html" = "firefox.desktop";
|
||||
"application/xhtml+xml" = "firefox.desktop";
|
||||
"x-scheme-handler/http" = "firefox.desktop";
|
||||
"x-scheme-handler/https" = "firefox.desktop";
|
||||
"application/pdf" = "firefox.desktop";
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
|
||||
Reference in new issue
Block a user