Yazi: Add steam-run opener.

This commit is contained in:
Dmitry Voronin 2024-12-11 17:46:07 +03:00
parent b21ccbacb8
commit 25e81e49c8

View file

@ -96,6 +96,10 @@
desc = "Switch Install"; desc = "Switch Install";
run = openWith "switch_install"; run = openWith "switch_install";
}]; }];
steam_run = [{
desc = "Run in Steam env";
run = openWith "steam-run";
}];
unlock = [{ unlock = [{
desc = "Unlock"; desc = "Unlock";
block = true; block = true;
@ -154,6 +158,7 @@
(mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ]) (mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ])
(mkName "*.xlsx" [ "document" ]) (mkName "*.xlsx" [ "document" ])
(mkMime "inode/directory" [ "audio_shuffle" ]) (mkMime "inode/directory" [ "audio_shuffle" ])
(mkMime "application/x-executable" [ "steam_run" ])
(mkMime "*" [ ]) (mkMime "*" [ ])
]; ];
}; };