From 25e81e49c8c2c4ab4d2f4d36cbd4f18906dac827 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 11 Dec 2024 17:46:07 +0300 Subject: [PATCH] Yazi: Add steam-run opener. --- home/file/yazi/module/Yazi.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/file/yazi/module/Yazi.nix b/home/file/yazi/module/Yazi.nix index 9f203e5..27402a1 100644 --- a/home/file/yazi/module/Yazi.nix +++ b/home/file/yazi/module/Yazi.nix @@ -96,6 +96,10 @@ desc = "Switch Install"; run = openWith "switch_install"; }]; + steam_run = [{ + desc = "Run in Steam env"; + run = openWith "steam-run"; + }]; unlock = [{ desc = "Unlock"; block = true; @@ -154,6 +158,7 @@ (mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ]) (mkName "*.xlsx" [ "document" ]) (mkMime "inode/directory" [ "audio_shuffle" ]) + (mkMime "application/x-executable" [ "steam_run" ]) (mkMime "*" [ ]) ]; };