krita: fix missing thumbnails

This commit is contained in:
Leonardo Eugênio 2024-08-30 18:29:12 -03:00
parent 6cc1f8a381
commit 03fd8951d8

View file

@ -26,6 +26,17 @@ in
blender-hip blender-hip
libreoffice libreoffice
godot_4 godot_4
(pkgs.writeTextFile {
name = "krita-thumbnails";
text = ''
[Thumbnailer Entry]
TryExec=unzip
Exec=sh -c "${pkgs.unzip}/bin/unzip -p %i preview.png > %o"
MimeType=application/x-krita;
'';
destination = "/share/thumbnailers/kra.thumbnailer";
})
]; ];
}; };
} }