diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-05-08 14:29:11 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-05-08 14:29:18 +0530 |
| commit | 7dbf17f0850ebbdd75993286f22c75b746591a3f (patch) | |
| tree | ced65c437ef049720443ea0090df7d7b209d4c20 /nixos/apps | |
| parent | 3b85116cd708fb94cf79bc68f853618b2906dfed (diff) | |
pdf xdg-open fix
Diffstat (limited to 'nixos/apps')
| -rw-r--r-- | nixos/apps/browser.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/apps/browser.nix b/nixos/apps/browser.nix index 0b5a330..52456e8 100644 --- a/nixos/apps/browser.nix +++ b/nixos/apps/browser.nix @@ -6,7 +6,9 @@ xdg.mime = let value = "zen-browser.desktop"; - associations = builtins.listToAttrs (map (name: { + associations = { + "application/pdf" = "org.kde.okular.desktop"; + } // builtins.listToAttrs (map (name: { inherit name value; }) [ "application/x-extension-shtml" @@ -22,7 +24,6 @@ "x-scheme-handler/http" "application/xhtml+xml" "application/json" - "application/pdf" "text/plain" "text/html" ]); |
