diff --git a/apps/yazi/default.nix b/apps/yazi/default.nix index d6886a8..255be1c 100644 --- a/apps/yazi/default.nix +++ b/apps/yazi/default.nix @@ -92,6 +92,26 @@ in { tasks = { image_bound = [10000 10000]; }; + opener = { + pdf = [ + { + run = "zathura \"$@\""; + desc = "Open with Zathura"; + } + { + run = "firefox \"$@\""; + desc = "Open with Firefox"; + } + ]; + }; + open = { + rules = [ + { + mime = "application/pdf"; + use = "pdf"; + } + ]; + }; }; };