mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-07-16 22:16:51 +08:00
add hachiyo cursor
This commit is contained in:
parent
974a1c6a83
commit
0ba7ef0513
5 changed files with 40 additions and 6 deletions
|
|
@ -11,11 +11,6 @@ in
|
|||
autoEnable = false;
|
||||
targets.gtk.enable = true;
|
||||
targets.gtk.flatpakSupport.enable = true;
|
||||
cursor = {
|
||||
package = pkgs.graphite-cursors;
|
||||
name = "graphite-dark";
|
||||
size = 32;
|
||||
};
|
||||
fonts = {
|
||||
monospace.name = "Maple Mono";
|
||||
monospace.package = pkgs.maple-mono-variable;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
monitors = {
|
||||
"eDP-1" = {
|
||||
|
|
@ -29,5 +30,10 @@
|
|||
rotation = 90;
|
||||
};
|
||||
};
|
||||
stylix.cursor = {
|
||||
package = pkgs.graphite-cursors;
|
||||
name = "graphite-dark";
|
||||
size = 32;
|
||||
};
|
||||
home.stateVersion = "23.11";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
monitors = {
|
||||
"eDP-1" = {
|
||||
|
|
@ -47,5 +47,10 @@
|
|||
input.touch.enable = true;
|
||||
input.touch.map-to-output = config.lib.monitors.mainMonitorName;
|
||||
};
|
||||
stylix.cursor = {
|
||||
package = pkgs.hachiyo-cursors;
|
||||
name = "hachiyo";
|
||||
size = 32;
|
||||
};
|
||||
home.stateVersion = "26.05";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@
|
|||
custom-colorschemes = pkgs.callPackage ./customColorSchemes { };
|
||||
wallpapers = pkgs.callPackage ./wallpapers.nix { };
|
||||
maple-mono-variable = pkgs.callPackage ./maple-mono-variable.nix { };
|
||||
hachiyo-cursors = pkgs.callPackage ./hachiyo-cursors.nix { };
|
||||
}
|
||||
|
|
|
|||
27
pkgs/hachiyo-cursors.nix
Normal file
27
pkgs/hachiyo-cursors.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Converted from https://www.bilibili.com/video/BV1XqZjB5E9u
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "hachiyo-cursors";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EdenQwQ";
|
||||
repo = "hachiyo-cursors";
|
||||
rev = "8f80a599a6302ea04f91a6073b5cf091ca615852";
|
||||
sha256 = "sha256-3daEcx/DAimF1C6c02E/4WqEiPq6OwBvntAp9Jc0lbY=";
|
||||
};
|
||||
|
||||
installPhase = "
|
||||
mkdir -p $out/share/icons/hachiyo
|
||||
cp -r * $out/share/icons/hachiyo
|
||||
";
|
||||
|
||||
meta = {
|
||||
description = "Hachiyo cursor theme";
|
||||
homepage = "https://github.com/EdenQwQ/hachiyo-cursors";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue