mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-10 03:53:53 +00:00
24 lines
540 B
Nix
24 lines
540 B
Nix
{ pkgs, ... }: {
|
|
wayland.windowManager.hyprland = {
|
|
plugins = with pkgs.hyprlandPlugins; [ hypr-dynamic-cursors ];
|
|
settings.plugin = let
|
|
dynamic-cursors = {
|
|
enabled = true;
|
|
mode = "stretch";
|
|
threshold = 2;
|
|
stretch = {
|
|
limit = 3000;
|
|
function = "quadratic";
|
|
};
|
|
hyprcursor = {
|
|
nearest = false;
|
|
enabled = true;
|
|
resolution = "-1";
|
|
fallback = "clientside";
|
|
};
|
|
};
|
|
in { inherit dynamic-cursors; };
|
|
};
|
|
}
|
|
|