Use home-manager pointerCursor module
This removes need to setup everything myself. Didn't know about it earlier. Does exactly what this commit removes.
This commit is contained in:
parent
240fdd9131
commit
3283c5e1dc
3
home.nix
3
home.nix
|
@ -54,9 +54,6 @@
|
|||
xdg = import ./home/xdg.nix {
|
||||
inherit pkgs;
|
||||
};
|
||||
xresources = import ./home/xresources.nix {
|
||||
inherit config;
|
||||
};
|
||||
|
||||
qt = import ./home/qt.nix {
|
||||
inherit pkgs;
|
||||
|
|
|
@ -13,12 +13,6 @@
|
|||
name = "Qogir-ubuntu-dark";
|
||||
};
|
||||
|
||||
cursorTheme = {
|
||||
package = pkgs.qogir-icon-theme;
|
||||
name = "Qogir-ubuntu-dark";
|
||||
size = 16;
|
||||
};
|
||||
|
||||
font = {
|
||||
package = pkgs.roboto-mono;
|
||||
name = "Roboto Mono";
|
||||
|
|
|
@ -35,6 +35,14 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
pointerCursor = {
|
||||
package = pkgs.qogir-icon-theme;
|
||||
name = "Qogir-ubuntu-dark";
|
||||
size = 16;
|
||||
x11.enable = true;
|
||||
gtk.enable = true;
|
||||
};
|
||||
|
||||
sessionVariables = {
|
||||
TERMINAL = "${pkgs.st}/bin/st";
|
||||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
tmpfiles.rules = [
|
||||
"L ${config.home.homeDirectory}/.themes - - - - ${config.home.profileDirectory}/share/themes"
|
||||
"L ${config.home.homeDirectory}/.icons/default - - - - ${config.home.profileDirectory}/share/icons/${config.gtk.iconTheme.name}"
|
||||
"L ${config.home.homeDirectory}/.icons/${config.gtk.iconTheme.name} - - - - ${config.home.profileDirectory}/share/icons/${config.gtk.iconTheme.name}"
|
||||
"L ${config.home.homeDirectory}/.local/share/applications - - - - ${config.home.profileDirectory}/share/applications"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{ config }:
|
||||
|
||||
{
|
||||
properties = {
|
||||
"Xcursor.theme" = "${config.gtk.cursorTheme.name}";
|
||||
"Xcursor.size" = 16;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue