From b84bc09059c9c48f5a9a8581a50412083cd798f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Kummerl=C3=A4nder?= Date: Sun, 6 May 2018 19:39:03 +0200 Subject: [PATCH] xcursor: change default cursor option name and value --- modules/xcursor.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/xcursor.nix b/modules/xcursor.nix index e82f6e1b..17158602 100644 --- a/modules/xcursor.nix +++ b/modules/xcursor.nix @@ -27,10 +27,10 @@ let description = "The cursor size."; }; - cursor = mkOption { + defaultCursor = mkOption { type = types.str; - default = "X_cursor"; - example = "left_ptr"; + default = "left_ptr"; + example = "X_cursor"; description = "The default cursor file to use within the package."; }; }; @@ -61,7 +61,7 @@ in home.packages = [cfg.package]; xsession.initExtra = '' - ${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cfg.package}/share/icons/${cfg.name}/cursors/${cfg.cursor} ${toString cfg.size} + ${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cfg.package}/share/icons/${cfg.name}/cursors/${cfg.defaultCursor} ${toString cfg.size} ''; xresources.properties = {