mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
fix(home): open PDFs from sandboxed apps in Firefox
Assisted-by: DeepSeek Harness (claude-opus-5-5)
This commit is contained in:
1 parent
fd0af4c097
commit
0704ba5e21
1 file changed
+7
-1
@@ -25,7 +25,7 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
"application/json" = browser;
|
"application/json" = browser;
|
||||||
"application/pdf" = browser;
|
"application/pdf" = [ "org.mozilla.firefox.desktop" ];
|
||||||
|
|
||||||
"text/html" = browser;
|
"text/html" = browser;
|
||||||
"text/xml" = browser;
|
"text/xml" = browser;
|
||||||
@@ -68,6 +68,12 @@
|
|||||||
"inode/directory" = [ "yazi.desktop" ];
|
"inode/directory" = [ "yazi.desktop" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# The portal app chooser used by sandboxed apps (e.g. Telegram) lists only these
|
||||||
|
# and the types a desktop entry declares, never the defaults above.
|
||||||
|
associations.added = {
|
||||||
|
"application/pdf" = [ "org.mozilla.firefox.desktop" ];
|
||||||
|
};
|
||||||
|
|
||||||
associations.removed = {
|
associations.removed = {
|
||||||
# ......
|
# ......
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user