From 48f0104cfc4329083d76d2025323f4815fefdd8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 30 Jun 2024 02:56:59 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(hypr):=20new=20plugin:=20dynam?= =?UTF-8?q?ic-cursors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/configs/plugins.conf | 4 ++++ .config/hypr/plugins/dynamic-cursors.conf | 25 +++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .config/hypr/plugins/dynamic-cursors.conf diff --git a/.config/hypr/configs/plugins.conf b/.config/hypr/configs/plugins.conf index d12dd2fe..0eff4ed4 100644 --- a/.config/hypr/configs/plugins.conf +++ b/.config/hypr/configs/plugins.conf @@ -15,3 +15,7 @@ exec-once = hyprpm reload -n # Hyprspace # exec-once = hyprpm enable hyprspace # source = ~/.config/hypr/plugins/hyprspace.conf + +# Dynamic-cursors +# exec-once = hyprpm enable dynamic-cursors +# source = ~/.config/hypr/plugins/dynamic-cursors.conf diff --git a/.config/hypr/plugins/dynamic-cursors.conf b/.config/hypr/plugins/dynamic-cursors.conf new file mode 100644 index 00000000..02dc9c02 --- /dev/null +++ b/.config/hypr/plugins/dynamic-cursors.conf @@ -0,0 +1,25 @@ +# Conf +plugin { + enabled = true + + mode = rotate + threshold = 10 + + rotate { + length = 10 + } + + tilt { + limit = 5000 + function = negative_quadratic + } + + shake = true + + shake { + threshold = 3.0 + factor = 3.5 + effects = rotate + nearest = true + } +}