From 44e3ac4ffb0f79f6d797551aee2dfc5dd7700fd8 Mon Sep 17 00:00:00 2001 From: Veneficium <85629831+veneficium42@users.noreply.github.com> Date: Sat, 9 Aug 2025 22:53:10 +0200 Subject: [PATCH] niri: fix cursor --- modules/home/niri/niri.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/home/niri/niri.nix b/modules/home/niri/niri.nix index 800c9dd..85838a8 100644 --- a/modules/home/niri/niri.nix +++ b/modules/home/niri/niri.nix @@ -1,4 +1,9 @@ -{ pkgs, config, ... }: +{ + pkgs, + config, + lib, + ... +}: { home.packages = with pkgs; [ swayosd @@ -55,6 +60,12 @@ services.wpaperd.enable = true; # programs.niri.config = builtins.readFile ./config.kdl; programs.niri.settings = { + + cursor = lib.mkIf (config.stylix.cursor != null) { + size = config.stylix.cursor.size; + theme = config.stylix.cursor.name; + }; + prefer-no-csd = true; spawn-at-startup = [ { command = [ "wpaperd" ]; }