add icon / desktop entry and readme

This commit is contained in:
Aaron Bieber 2023-06-29 08:06:51 -06:00
parent 249015115c
commit dff83a5e9b
No known key found for this signature in database
12 changed files with 42 additions and 23 deletions

4
README.md Normal file
View File

@ -0,0 +1,4 @@
xintray
=======
![xin](./xintray-logo.png)

View File

@ -14,7 +14,8 @@
let pkgs = nixpkgsFor.${system}; let pkgs = nixpkgsFor.${system};
in { in {
xintray = pkgs.buildGo120Module { xintray = with pkgs;
buildGo120Module rec {
pname = "xintray"; pname = "xintray";
version = "v0.1.13"; version = "v0.1.13";
src = ./.; src = ./.;
@ -23,8 +24,8 @@
"sha256-mp9e0Ed2bvyyqbQgnmWhS1Tb341iW8bJdlxNcjTG4Vo="; "sha256-mp9e0Ed2bvyyqbQgnmWhS1Tb341iW8bJdlxNcjTG4Vo=";
proxyVendor = true; proxyVendor = true;
nativeBuildInputs = with pkgs; [ pkg-config ]; nativeBuildInputs = [ pkg-config copyDesktopItems ];
buildInputs = with pkgs; [ buildInputs = [
git git
glfw glfw
libGL libGL
@ -38,6 +39,20 @@
xorg.libXxf86vm xorg.libXxf86vm
xorg.xinput xorg.xinput
]; ];
desktopItems = [
(makeDesktopItem {
name = "Xin Tray";
exec = pname;
icon = pname;
desktopName = pname;
})
];
postInstall = ''
mkdir -p $out/share/
cp -r icons $out/share/
'';
}; };
}); });

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

BIN
xintray-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB