fix inkscape default app for svg

This commit is contained in:
Emmet
2025-06-17 15:50:55 -05:00
parent 66efbc6c1c
commit b716a1920f
2 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,6 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
gimp
krita krita
pinta pinta
inkscape inkscape
@ -20,5 +19,8 @@ in {
upscayl upscayl
]; ];
userSettings.blender.enable = true; userSettings.blender.enable = true;
xdg.mimeApps.defaultApplications = lib.mkForce {
"image/svg+xml" = ["org.inkscape.Inkscape.desktop"];
};
}; };
} }

View File

@ -15,7 +15,7 @@ in {
enableZshIntegration = true; enableZshIntegration = true;
keymap.manager.prepend_keymap = keymap.manager.prepend_keymap =
[ [
{ run = "shell ' \"$0\"' --cursor=0 --interactive"; on = [ "@" ]; } { run = "shell ' \"$@\"' --cursor=0 --interactive"; on = [ "@" ]; }
]; ];
}; };
}; };