mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Use hyprcursors
This commit is contained in:
parent
b7562dbd3f
commit
4a3ac9999d
3 changed files with 44 additions and 2 deletions
25
flake.lock
generated
25
flake.lock
generated
|
@ -438,6 +438,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hyprcursors": {
|
||||||
|
"inputs": {
|
||||||
|
"hyprland": [
|
||||||
|
"hyprland"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"hyprland",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1719779888,
|
||||||
|
"narHash": "sha256-Jf6Te5Jhbja4Pk6+UeEi3YMxvgMUf/nqHS9PCU1ntOw=",
|
||||||
|
"owner": "VirtCode",
|
||||||
|
"repo": "hypr-dynamic-cursors",
|
||||||
|
"rev": "91c03dea2ebfe34dbe64e54921801829dfe23ea8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "VirtCode",
|
||||||
|
"repo": "hypr-dynamic-cursors",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hyprland": {
|
"hyprland": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprcursor": "hyprcursor",
|
"hyprcursor": "hyprcursor",
|
||||||
|
@ -718,6 +742,7 @@
|
||||||
"github2forgejo": "github2forgejo",
|
"github2forgejo": "github2forgejo",
|
||||||
"hardware": "hardware",
|
"hardware": "hardware",
|
||||||
"homeManager": "homeManager",
|
"homeManager": "homeManager",
|
||||||
|
"hyprcursors": "hyprcursors",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"hyprpicker": "hyprpicker",
|
"hyprpicker": "hyprpicker",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
|
|
12
flake.nix
12
flake.nix
|
@ -56,6 +56,13 @@
|
||||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
hyprpicker.url = "github:hyprwm/hyprpicker";
|
hyprpicker.url = "github:hyprwm/hyprpicker";
|
||||||
|
|
||||||
|
hyprcursors = {
|
||||||
|
url = "github:VirtCode/hypr-dynamic-cursors";
|
||||||
|
|
||||||
|
inputs.hyprland.follows = "hyprland";
|
||||||
|
inputs.nixpkgs.follows = "hyprland/nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
ghostty.url = "git+ssh://git@github.com/RGBCube/ghostty";
|
ghostty.url = "git+ssh://git@github.com/RGBCube/ghostty";
|
||||||
ghosttyModule.url = "github:clo4/ghostty-hm-module";
|
ghosttyModule.url = "github:clo4/ghostty-hm-module";
|
||||||
|
|
||||||
|
@ -93,8 +100,9 @@
|
||||||
|
|
||||||
nixpkgsOverlayModule = with lib1; {
|
nixpkgsOverlayModule = with lib1; {
|
||||||
nixpkgs.overlays = [(final: prev: {
|
nixpkgs.overlays = [(final: prev: {
|
||||||
ghostty = inputs.ghostty.packages.${prev.system}.default;
|
ghostty = inputs.ghostty.packages.${prev.system}.default;
|
||||||
zls = inputs.zls.packages.${prev.system}.default;
|
hyprcursors = inputs.hyprcursors.packages.${prev.system}.default;
|
||||||
|
zls = inputs.zls.packages.${prev.system}.default;
|
||||||
})] ++ pipe inputs [
|
})] ++ pipe inputs [
|
||||||
attrValues
|
attrValues
|
||||||
(filter (value: value ? overlays.default))
|
(filter (value: value ? overlays.default))
|
||||||
|
|
|
@ -39,6 +39,15 @@ in desktopSystemConfiguration {
|
||||||
enableXdgAutostart = true;
|
enableXdgAutostart = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
plugins = with pkgs; [ hyprcursors ];
|
||||||
|
|
||||||
|
settings.plugin.dynamic-cursors = {
|
||||||
|
enabled = true;
|
||||||
|
|
||||||
|
mode = "rotate";
|
||||||
|
shake = true;
|
||||||
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
monitor = [ ", preferred, auto, 1" ];
|
monitor = [ ", preferred, auto, 1" ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue