From 65c815d155e480e94f6372b3df4a49ad8964e45d Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 18 Apr 2024 21:28:10 -0400 Subject: [PATCH] phinger-cursors: Downgrade from 2.0 to 1.1 (again) 2.0 introduces some kind of breaking change that results in the cursor appearing larger than usual, which I haven't been able to find an answer for. The 1.1 cursor has been great already, so I'll probably stick with that until further notice. --- modules/desktop.nix | 2 +- overlays/phinger-cursors.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 overlays/phinger-cursors.nix diff --git a/modules/desktop.nix b/modules/desktop.nix index 1ffa9ba6..ecead7cd 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -178,7 +178,7 @@ in cursor = { package = phinger-cursors; - name = "phinger-cursors-dark"; + name = "phinger-cursors"; size = 24; }; diff --git a/overlays/phinger-cursors.nix b/overlays/phinger-cursors.nix new file mode 100644 index 00000000..d3744073 --- /dev/null +++ b/overlays/phinger-cursors.nix @@ -0,0 +1,10 @@ +final: prev: { + phinger-cursors = prev.phinger-cursors.overrideAttrs (oldAttrs: rec { + version = "1.1"; + + src = prev.fetchurl { + url = "https://github.com/phisch/phinger-cursors/releases/download/v${version}/phinger-cursors-variants.tar.bz2"; + sha256 = "sha256-II+1x+rcjGRRVB8GYkVwkKVHNHcNaBKRb6C613901oc="; + }; + }); +}