21 lines
519 B
Nix
Raw Normal View History

2021-02-17 01:06:42 +03:00
{ pkgs, lib, config, ... }:
let
thm = config.lib.base16.theme;
in {
2021-02-07 02:38:11 +03:00
environment.sessionVariables = {
XCURSOR_PATH = lib.mkForce "/home/alukard/.icons";
2021-02-17 01:06:42 +03:00
XCURSOR_SIZE = lib.mkForce (toString thm.cursorSize);
2021-02-07 02:38:11 +03:00
};
home-manager.users.alukard = {
xsession.pointerCursor = {
2021-02-17 01:06:42 +03:00
package = thm.cursorPackage;
2021-02-07 02:38:11 +03:00
name = "Bibata-Modern-Classic";
2021-02-17 01:06:42 +03:00
size = thm.cursorSize;
2021-02-07 02:38:11 +03:00
};
home.file.".icons/default" = {
2021-02-17 01:06:42 +03:00
source = "${thm.cursorPackage}/share/icons/Bibata-Modern-Classic";
2021-02-07 02:38:11 +03:00
};
};
}