diff options
author | Soispha <soispha@vhack.eu> | 2023-12-29 09:36:28 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-29 09:36:28 +0100 |
commit | 7fc5e9ec677b817429480b061f093bff72b06352 (patch) | |
tree | f1000ffd9f7a24f49c11adf597d9ac0e2b11b124 /hm/soispha/conf/xdg/default.nix | |
parent | fix(hm/conf/xdg): Correctly specify the attr names under xdg (diff) | |
download | nixos-config-7fc5e9ec677b817429480b061f093bff72b06352.zip |
feat(hm/conf/xdg/url_handler): Also support opening in zathura
Diffstat (limited to 'hm/soispha/conf/xdg/default.nix')
-rw-r--r-- | hm/soispha/conf/xdg/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hm/soispha/conf/xdg/default.nix b/hm/soispha/conf/xdg/default.nix index 3715cc87..2b244b88 100644 --- a/hm/soispha/conf/xdg/default.nix +++ b/hm/soispha/conf/xdg/default.nix @@ -11,6 +11,7 @@ dependencies = with pkgs; [ rofi libnotify + zathura ]; replacementStrings = { ALL_PROJECTS_PIPE = "${config.soispha.taskwarrior.projects.projects_pipe}"; @@ -21,6 +22,9 @@ in { mimeApps = { enable = true; defaultApplications = { + "application/pdf" = ["url_handler.desktop"]; + "application/x-pdf" = ["url_handler.desktop"]; + "text/html" = ["url_handler.desktop"]; "text/xml" = ["url_handler.desktop"]; "x-scheme-handler/http" = ["url_handler.desktop"]; |