From aa36e2d6b481a54b95fbddbecb76076e0f38eb89 Mon Sep 17 00:00:00 2001 From: Christopher League Date: Mon, 7 Jun 2021 18:00:31 -0400 Subject: [PATCH] xsession.pointerCursor: .icons file for AwesomeWM (#2084) --- modules/xcursor.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/xcursor.nix b/modules/xcursor.nix index 63ceef387..65b5c7706 100644 --- a/modules/xcursor.nix +++ b/modules/xcursor.nix @@ -79,5 +79,14 @@ in { "gtk-cursor-theme-size" = cfg.size; }; + # Set name in icons theme, for compatibility with AwesomeWM etc. See: + # https://github.com/nix-community/home-manager/issues/2081 + # https://wiki.archlinux.org/title/Cursor_themes#XDG_specification + home.file.".icons/default/index.theme".text = '' + [icon theme] + Name=Default + Comment=Default Cursor Theme + Inherits=${cfg.name} + ''; }; }