pjsk cursor

This commit is contained in:
암냥 2026-04-13 12:53:37 +09:00
commit 50adab0177
No known key found for this signature in database
65 changed files with 98 additions and 46 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/mmj-airi-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/mmj-airi-cur.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/mmj-miku-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/mmj-miku-cur.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/n25-ena-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/n25-ena-cur.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/n25-miku-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/n25-miku-cur.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/vbs-akito-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/vbs-akito-cur.tar.gz Normal file

Binary file not shown.

BIN
assets/vbs-an-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/vbs-an-cur.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/vbs-miku-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/vbs-miku-cur.tar.gz Normal file

Binary file not shown.

BIN
assets/vbs-toya-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/vbs-toya-cur.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/wxs-emu-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/wxs-emu-cur.tar.gz Normal file

Binary file not shown.

BIN
assets/wxs-miku-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/wxs-miku-cur.tar.gz Normal file

Binary file not shown.

BIN
assets/wxs-nene-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/wxs-nene-cur.tar.gz Normal file

Binary file not shown.

BIN
assets/wxs-rui-ani.tar.gz Normal file

Binary file not shown.

BIN
assets/wxs-rui-cur.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -10,16 +10,17 @@
system = "x86_64-linux";
overlay = final: prev: {
# waterfox = final.callPackage ./pkgs/waterfox/default.nix { };
another = final.callPackage ./pkgs/another/default.nix { };
# another = final.callPackage ./pkgs/another/default.nix { };
waterfox-bin = final.callPackage ./pkgs/waterfox-bin/default.nix { };
xcursor-mizuki = final.callPackage ./pkgs/xcursor-mizuki/default.nix { stdenv = final.stdenv; };
pjsk-cursor = final.callPackage ./pkgs/pjsk-cursor/default.nix { stdenv = final.stdenv; };
};
pkgs = nixpkgs.legacyPackages.${system}.extend overlay;
in {
overlays.default = overlay;
packages.${system} = {
inherit (pkgs) another waterfox-bin xcursor-mizuki;
inherit (pkgs) waterfox-bin xcursor-mizuki pjsk-cursor;
# default = pkgs.waterfox-bin;
};
};

View file

@ -1,44 +0,0 @@
{
lib,
fetchurl,
appimageTools,
makeDesktopItem,
}:
let
pname = "another";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/Zfinix/another/releases/download/v${version}/Another_${version}_amd64.AppImage";
hash = "sha256-R9gnSZRnrorg2qzXDRFlsuuQa3YHdA0Y8g40EpEAm7g=";
};
desktopItem = makeDesktopItem {
name = pname;
desktopName = "Another";
comment = "Android mirroring and control app";
exec = "another";
categories = [
"Utility"
];
terminal = false;
};
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm444 ${desktopItem}/share/applications/${pname}.desktop \
$out/share/applications/${pname}.desktop
'';
meta = {
description = "Desktop app for mirroring and controlling Android devices";
homepage = "https://github.com/Zfinix/another";
license = lib.licenses.mit;
mainProgram = "another";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -0,0 +1,95 @@
{ stdenv }:
let
homepage = "https://colorfulstage.com/media/download/";
mkCursor = { name, src }:
stdenv.mkDerivation rec {
inherit name src;
version = "1.0.0";
installPhase = ''
runHook preInstall
install -dm 0755 $out/share/icons/${name}
cp -rf . $out/share/icons/${name}
runHook postInstall
'';
meta = {
description = "Project Sekai cursor theme";
inherit homepage;
};
};
makeVariant = group: character:
{
ani = mkCursor {
name = "pjsk-cursor-${group}-${character}-ani";
src = ../../assets/${group}-${character}-ani.tar.gz;
};
cur = mkCursor {
name = "pjsk-cursor-${group}-${character}-cur";
src = ../../assets/${group}-${character}-cur.tar.gz;
};
};
makeGroup = group: characters:
builtins.listToAttrs (map (character: {
name = character;
value = makeVariant group character;
}) characters);
in
{
leoneed = makeGroup "leoneed" [
"honami"
"ichika"
"miku"
"saki"
"shiho"
];
mmj = makeGroup "mmj" [
"airi"
"haruka"
"miku"
"minori"
"shizuku"
];
n25 = makeGroup "n25" [
"ena"
"kanade"
"mafuyu"
"miku"
"mizuki"
];
vbs = makeGroup "vbs" [
"akito"
"an"
"kohane"
"miku"
"toya"
];
virtualsinger = makeGroup "virtualsinger" [
"kaito"
"len"
"luka"
"meiko"
"miku"
"rin"
];
wxs = makeGroup "wxs" [
"emu"
"miku"
"nene"
"rui"
"tsukasa"
];
}