mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
xcursor: remove warning and use mkDefault for GTK options (#2808)
This commit is contained in:
parent
0fad959df8
commit
57476b5d28
1 changed files with 1 additions and 7 deletions
|
@ -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 = ''
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue