diff --git a/home/programs/homestuck.nix b/home/programs/homestuck.nix index c79a5bd..bdd94a5 100644 --- a/home/programs/homestuck.nix +++ b/home/programs/homestuck.nix @@ -1,6 +1,13 @@ -{ disksPath, pkgs, ... }: +{ disksPath, pkgs, lib, ... }: -{ +let + homestuckIcon = pkgs.fetchurl { + url = + "https://static.wikia.nocookie.net/mspaintadventures/images/2/2d/Sburb_Logo.svg/revision/latest/scale-to-width-down/512?cb=20200130061023"; + hash = ""; + }; + +in { xdg.desktopEntries = { homestuck = { @@ -8,10 +15,7 @@ genericName = "Homestuck"; exec = "appimage-run ${disksPath}/Tartarus/homosuck/Homestuck-2.5.7.AppImage"; - icon = ${pkgs.fetchurl { - url = "https://static.wikia.nocookie.net/mspaintadventures/images/2/2d/Sburb_Logo.svg/revision/latest/scale-to-width-down/512?cb=20200130061023"; - hash = " "; - };}; + icon = "${homestuckIcon}"; terminal = false; categories = [ "Game" ]; mimeType = [ ];