-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bibata-hyprcursor not working for me #40
Comments
https://github.com/LOSEARDES77/Bibata-Cursor-hyprcursor is not reliable, that's why I haven't used it. The svgs don't load because they're broken. If you open one in a text editor you can see that a sed call failed miserably, leaving stray About the broken URL, I'll probably upload the original theme somewhere more permanent. |
Fixed the broken url. |
Ah, thanks, that explains it. Any tips how to get correct SVG's for the other variants? I had customised the package like so to get complete such functionality, but obviously the actual cursor sources suffer from the issue you mentioned: {
lib,
stdenvNoCC,
fetchurl,
# bibata-cursors,
variant ? "Modern-Classic",
}: let
hcversion = "1.0";
variants = {
Modern-Classic = {
url = "https://github.com/LOSEARDES77/Bibata-Cursor-hyprcursor/releases/download/${hcversion}/hypr_Bibata-Modern-Classic.tar.gz";
name = "hypr_Bibata-Modern-Classic.tar.gz";
sha256 = "sha256-+ZXnbI3bBLcb0nv2YW3eM/tK4dsraNM4UAO9BpSqfXk=";
};
Modern-Amber = {
url = "https://github.com/LOSEARDES77/Bibata-Cursor-hyprcursor/releases/download/${hcversion}/hypr_Bibata-Modern-Amber.tar.gz";
name = "hypr_Bibata-Modern-Amber.tar.gz";
sha256 = lib.fakeSha256;
};
Modern-Ice = {
url = "https://github.com/LOSEARDES77/Bibata-Cursor-hyprcursor/releases/download/${hcversion}/hypr_Bibata-Modern-Ice.tar.gz";
name = "hypr_Bibata-Modern-Ice.tar.gz";
sha256 = lib.fakeSha256;
};
Original-Classic = {
url = "https://github.com/LOSEARDES77/Bibata-Cursor-hyprcursor/releases/download/${hcversion}/hypr_Bibata-Original-Classic.tar.gz";
name = "hypr_Bibata-Original-Classic.tar.gz";
sha256 = lib.fakeSha256;
};
Original-Amber = {
url = "https://github.com/LOSEARDES77/Bibata-Cursor-hyprcursor/releases/download/${hcversion}/hypr_Bibata-Original-Amber.tar.gz";
name = "hypr_Bibata-Original-Amber.tar.gz";
sha256 = "sha256-WTXiuRje6VJlVDayvI9GzvKYNjdgXYqKRi8t2QRanDk=";
};
Original-Ice = {
url = "https://github.com/LOSEARDES77/Bibata-Cursor-hyprcursor/releases/download/${hcversion}/hypr_Bibata-Original-Ice.tar.gz";
name = "hypr_Bibata-Original-Ice.tar.gz";
sha256 = lib.fakeSha256;
};
};
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "bibata-hyprcursor";
# inherit (bibata-cursors) version;
version = hcversion;
src = fetchurl {
inherit (variants.${variant}) url name sha256;
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons/BibataHypr-${variant}
cp -r /build/manifest.hl /build/hyprcursors $out/share/icons/BibataHypr-${variant}/
runHook postInstall
'';
meta = {
description = "Open source, compact, and material designed cursor set";
homepage = "https://github.com/LOSEARDES77/Bibata-Cursor-hyprcursor";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [fufexan];
};
}) |
Sorry for forgetting to respond, did you figure it out? If this is still an issue, I have an updated derivation where you can specify which variant to build. |
@fufexan Thanks for getting back! I kind of changed back my config partially and forgot about it. I'm actually not sure how to clearly see when Hyprcursor is rendering and when it's Xcursor (I could of course change a different style to find out). I'll try it more when I find some time. I'll close it for now, not to keep this a hanging issue. Cheers! |
Inspired by your dotfiles (BTW the download link here
dotfiles/pkgs/bibata-hyprcursor/default.nix
Line 13 in 36c38db
However, when setting the cursor, e.g. with
I see in the Hyprland log:
and the cursor does not change, though
hyprctl
thinks there is no problem.In other words, it is found but the svg data (compressed in the
.hcl
files as I understand) cannot be loaded.BTW, I noticed that the name in the manifest is the original Bibata name, i.e. not the name of the directory, don't know if this plays a role?
The cursor package for nix (shas not yet finished):
The text was updated successfully, but these errors were encountered: