theme: unify cursor theme

This commit is contained in:
Zynh Ludwig 2025-03-25 13:00:01 -07:00
parent ba2b3a4fe6
commit 50d1153f78
4 changed files with 66 additions and 1 deletions

View file

@ -1336,6 +1336,7 @@
"nixos-apple-silicon": "nixos-apple-silicon", "nixos-apple-silicon": "nixos-apple-silicon",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_5",
"repo-clone": "repo-clone", "repo-clone": "repo-clone",
"rose-pine-hyprcursor": "rose-pine-hyprcursor",
"rose-pine-swaync": "rose-pine-swaync", "rose-pine-swaync": "rose-pine-swaync",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"split-monitor-workspaces": "split-monitor-workspaces", "split-monitor-workspaces": "split-monitor-workspaces",
@ -1344,6 +1345,31 @@
"zdwm": "zdwm" "zdwm": "zdwm"
} }
}, },
"rose-pine-hyprcursor": {
"inputs": {
"hyprlang": [
"hyprland",
"hyprlang"
],
"nixpkgs": [
"nixpkgs"
],
"utils": "utils_2"
},
"locked": {
"lastModified": 1740132177,
"narHash": "sha256-gNc20APKMefFdH5RONBuHhOps14aiMdgIT0I6RaSN64=",
"owner": "ndom91",
"repo": "rose-pine-hyprcursor",
"rev": "568067f35a85932192bd43ddf64fc05eff850f9f",
"type": "github"
},
"original": {
"owner": "ndom91",
"repo": "rose-pine-hyprcursor",
"type": "github"
}
},
"rose-pine-swaync": { "rose-pine-swaync": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -1509,6 +1535,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_6": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -1570,6 +1611,24 @@
"type": "github" "type": "github"
} }
}, },
"utils_2": {
"inputs": {
"systems": "systems_6"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"xdph": { "xdph": {
"inputs": { "inputs": {
"hyprland-protocols": [ "hyprland-protocols": [

View file

@ -21,6 +21,7 @@
fish_theme = { url = "git+https://git.zynh.me/Zynh0722/omf-theme"; flake = false; }; fish_theme = { url = "git+https://git.zynh.me/Zynh0722/omf-theme"; flake = false; };
backgrounds = { url = "git+https://git.zynh.me/Zynh0722/backgrounds"; inputs.nixpkgs.follows = "nixpkgs"; }; backgrounds = { url = "git+https://git.zynh.me/Zynh0722/backgrounds"; inputs.nixpkgs.follows = "nixpkgs"; };
rose-pine-swaync = { url = "github:rose-pine/swaync"; flake = false; }; rose-pine-swaync = { url = "github:rose-pine/swaync"; flake = false; };
rose-pine-hyprcursor = { url = "github:ndom91/rose-pine-hyprcursor"; inputs.nixpkgs.follows = "nixpkgs"; inputs.hyprlang.follows = "hyprland/hyprlang"; };
# Owie Sharp # Owie Sharp
neovim-overlay = { url = "github:nix-community/neovim-nightly-overlay"; inputs.nixpkgs.follows = "nixpkgs"; }; neovim-overlay = { url = "github:nix-community/neovim-nightly-overlay"; inputs.nixpkgs.follows = "nixpkgs"; };

View file

@ -45,7 +45,7 @@ in
gtk.enable = true; gtk.enable = true;
x11.enable = true; x11.enable = true;
name = name; name = name;
size = 16; size = 24;
package = package =
pkgs.runCommand "moveUp" { } '' pkgs.runCommand "moveUp" { } ''
mkdir -p $out/share/icons mkdir -p $out/share/icons

View file

@ -68,6 +68,10 @@ in
SDL_VIDEODRIVEWR = "wayland,x11"; SDL_VIDEODRIVEWR = "wayland,x11";
_JAVA_AWT_WM_NONREPARENTING = 1; _JAVA_AWT_WM_NONREPARENTING = 1;
}; };
environment.systemPackages = [
inputs.rose-pine-hyprcursor.packages.${pkgs.system}.default
];
} }
# hyprland configuration # hyprland configuration
@ -82,6 +86,7 @@ in
env = [ env = [
"XCURSOR_SIZE,24" "XCURSOR_SIZE,24"
"HYPRCURSOR_SIZE,24" "HYPRCURSOR_SIZE,24"
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
"MOZ_ENABLE_WAYLAND,1" "MOZ_ENABLE_WAYLAND,1"
]; ];