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} + ''; }; }