2024-12-17 12:10:05 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-11-21 09:24:15 +00:00
|
|
|
wayland.windowManager.hyprland = {
|
2024-11-23 14:31:05 +00:00
|
|
|
plugins = with pkgs.hyprlandPlugins; [ hypr-dynamic-cursors ];
|
2024-12-17 12:10:05 +00:00
|
|
|
settings.plugin =
|
|
|
|
let
|
|
|
|
dynamic-cursors = {
|
2024-11-23 14:31:05 +00:00
|
|
|
enabled = true;
|
2024-12-17 12:10:05 +00:00
|
|
|
mode = "stretch";
|
|
|
|
threshold = 2;
|
|
|
|
stretch = {
|
|
|
|
limit = 3000;
|
|
|
|
function = "quadratic";
|
|
|
|
};
|
|
|
|
hyprcursor = {
|
|
|
|
nearest = false;
|
|
|
|
enabled = true;
|
|
|
|
resolution = "-1";
|
|
|
|
fallback = "clientside";
|
|
|
|
};
|
2024-11-21 09:24:15 +00:00
|
|
|
};
|
2024-12-17 12:10:05 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
inherit dynamic-cursors;
|
2024-11-21 09:24:15 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|