From b716a1920f6c02bf15b843a4d86042e4bd39071b Mon Sep 17 00:00:00 2001 From: Emmet Date: Tue, 17 Jun 2025 15:50:55 -0500 Subject: [PATCH] fix inkscape default app for svg --- modules/user/art/default.nix | 4 +++- modules/user/yazi/default.nix | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/user/art/default.nix b/modules/user/art/default.nix index e4936585..da3358fe 100644 --- a/modules/user/art/default.nix +++ b/modules/user/art/default.nix @@ -11,7 +11,6 @@ in { config = lib.mkIf cfg.enable { home.packages = with pkgs; [ - gimp krita pinta inkscape @@ -20,5 +19,8 @@ in { upscayl ]; userSettings.blender.enable = true; + xdg.mimeApps.defaultApplications = lib.mkForce { + "image/svg+xml" = ["org.inkscape.Inkscape.desktop"]; + }; }; } diff --git a/modules/user/yazi/default.nix b/modules/user/yazi/default.nix index a5b7dccb..bacdc273 100644 --- a/modules/user/yazi/default.nix +++ b/modules/user/yazi/default.nix @@ -15,7 +15,7 @@ in { enableZshIntegration = true; keymap.manager.prepend_keymap = [ - { run = "shell ' \"$0\"' --cursor=0 --interactive"; on = [ "@" ]; } + { run = "shell ' \"$@\"' --cursor=0 --interactive"; on = [ "@" ]; } ]; }; };