From 88b400619a014fd26c5a0b0ca705d623b85b7667 Mon Sep 17 00:00:00 2001 From: twoneis Date: Sun, 11 Feb 2024 19:43:05 +0100 Subject: [PATCH] cursor theme changed to rose pine cursors --- modules/home/cursor/default.nix | 15 +++++++++++++++ modules/home/default.nix | 1 + 2 files changed, 16 insertions(+) create mode 100644 modules/home/cursor/default.nix diff --git a/modules/home/cursor/default.nix b/modules/home/cursor/default.nix new file mode 100644 index 0000000..e753253 --- /dev/null +++ b/modules/home/cursor/default.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: { + home.pointerCursor = let getFrom = url: hash: name: { + gtk.enable = true; + x11.enable = true; + name = name; + size = 24; + package = pkgs.runCommand "moveUp" {} '' + mkdir -p $out/share/icons + ln -s ${pkgs.fetchzip{ + url = url; + hash = hash; + }} $out/share/icons/${name} + ''; + }; in getFrom "https://github.com/rose-pine/cursor/releases/download/v1.1.0/BreezeX-RosePine-Linux.tar.xz" "sha256-t5xwAPGhuQUfGThedLsmtZEEp1Ljjo3Udhd5Ql3O67c=" "BreezX-RosePine-Linux"; +} diff --git a/modules/home/default.nix b/modules/home/default.nix index 18dace1..a9101a4 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -3,6 +3,7 @@ ./art ./browser ./chat + ./cursor ./discord ./direnv ./editor