From f5354a9124cdb487a2be5db215ff7699bb8d94d1 Mon Sep 17 00:00:00 2001 From: Mark Dickie Date: Wed, 18 Mar 2026 12:46:01 +0100 Subject: [PATCH] Add cursor timeout, FIXES #3 --- modules/home-manager/hyprland/looknfeel.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/modules/home-manager/hyprland/looknfeel.nix b/modules/home-manager/hyprland/looknfeel.nix index d180111..80f2cfd 100644 --- a/modules/home-manager/hyprland/looknfeel.nix +++ b/modules/home-manager/hyprland/looknfeel.nix @@ -1,13 +1,18 @@ { config, ... -}: let - hexToRgba = hex: alpha: let - in "rgba(${hex}${alpha})"; +}: +let + hexToRgba = + hex: alpha: + let + in + "rgba(${hex}${alpha})"; inactiveBorder = hexToRgba config.colorScheme.palette.base09 "aa"; activeBorder = hexToRgba config.colorScheme.palette.base0D "aa"; -in { +in +{ wayland.windowManager.hyprland.settings = { general = { gaps_in = 2; @@ -90,6 +95,10 @@ in { new_status = "master"; }; + cursor = { + inactive_timeout = 5; + }; + misc = { disable_hyprland_logo = true; disable_splash_rendering = true; -- 2.51.2