1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 18:53:51 +00:00
ultima/modules/home/wm/hyprland/plugins.nix

28 lines
597 B
Nix
Raw Normal View History

{ 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 ];
settings.plugin =
let
dynamic-cursors = {
2024-11-23 14:31:05 +00:00
enabled = true;
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
};
in
{
inherit dynamic-cursors;
2024-11-21 09:24:15 +00:00
};
};
}