Install PureRef

This commit is contained in:
Elnu 2023-01-18 18:49:08 -08:00
parent 7f41f23d2b
commit 35adb9fe86
3 changed files with 24 additions and 0 deletions

View file

@ -113,6 +113,7 @@ in
inkscape
obs-studio
qbittorrent
(pkgs.callPackage ../pureref.nix { })
# Games
prismlauncher

4
i3.nix
View file

@ -103,6 +103,10 @@ in {
command = "floating enable";
criteria = { class = "Nextcloud"; };
}
{
command = "floating enable";
criteria = { class = "PureRef"; };
}
];
bars = [];
};

19
pureref.nix Normal file
View file

@ -0,0 +1,19 @@
{ lib, appimageTools, requireFile }:
appimageTools.wrapType1 rec {
pname = "pureref";
version = "1.11.1";
src = requireFile {
name = "PureRef-${version}_x64.Appimage";
sha256 = "05naywdgykqrsgc3xybskr418cyvbx7vqs994yv9w8zf98gxvbvm";
url = "https://www.pureref.com/download.php";
};
meta = with lib; {
description = "Reference Image Viewer";
homepage = "https://www.pureref.com";
license = licenses.unfree;
platforms = platforms.linux;
};
}