From 18ef8800fc1798209cd33a7ebe3bf815e80e1a97 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Thu, 25 Jan 2024 13:54:09 +0100 Subject: [PATCH] changed name of desktop item --- flake.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 6e64550..54a26f2 100644 --- a/flake.nix +++ b/flake.nix @@ -16,11 +16,16 @@ version = "0.6.4"; desktopItem = pkgs.makeDesktopItem { - name = "starc"; exec = name; - desktopName = "Starc"; + + inherit name; + desktopName = "Story Architect"; + genericName = "Storywriting Software"; comment = "Advanced text editor for script writers."; categories = ["Office" "TextEditor" "Utility"]; + + mimeTypes = ["application/x-${name}"]; + icon = pkgs.fetchurl { url = "https://github.com/story-apps/starc/blob/v${version}/img/starc.png"; sha256 = "sha256-wixqb1cV+WEhgxsl2CeOjrid4P0daHqh0O40h2iPst4=";