fix(yazi): can open non-assigned extensions again

needed to change a few lines to enable defaults again.
This commit is contained in:
kenji
2026-04-04 17:09:47 -05:00
parent a4f0cbb017
commit 1b5cf2cf39
+11 -1
View File
@@ -93,6 +93,12 @@ in {
image_bound = [10000 10000]; image_bound = [10000 10000];
}; };
opener = { opener = {
anki = [
{
run = "anki \"$@\"";
desc = "Open with Anki";
}
];
pdf = [ pdf = [
{ {
run = "zathura \"$@\""; run = "zathura \"$@\"";
@@ -105,7 +111,11 @@ in {
]; ];
}; };
open = { open = {
rules = [ prepend_rules = [
{
name = "*.{apkg,colpkg}";
use = "anki";
}
{ {
mime = "application/pdf"; mime = "application/pdf";
use = "pdf"; use = "pdf";