mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 08:23:52 +00:00
28 lines
597 B
Nix
28 lines
597 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;
|
|
};
|
|
};
|
|
}
|