Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions modules/xcursor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ in {
platforms.linux)
];

warnings = [''
GTK cursor settings will no longer be handled in the xsession.pointerCursor module in future.
Please use gtk.cursorTheme for GTK cursor settings instead.
''];

home.packages = [ cfg.package ];

xsession.initExtra = ''
Expand All @@ -78,8 +73,7 @@ in {
"Xcursor.size" = cfg.size;
};

# TODO: deprecate after next version release.
gtk.cursorTheme = { inherit (cfg) package name size; };
gtk.cursorTheme = mkDefault { inherit (cfg) package name size; };

# Set name in icons theme, for compatibility with AwesomeWM etc. See:
# https://github.com/nix-community/home-manager/issues/2081
Expand Down