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:
Daniel Siepmann 2022-05-22 18:31:08 +02:00
parent 240fdd9131
commit 3283c5e1dc
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
5 changed files with 9 additions and 18 deletions

View file

@ -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;

View file

@ -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";

View file

@ -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";

View file

@ -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"
];
}

View file

@ -1,8 +0,0 @@
{ config }:
{
properties = {
"Xcursor.theme" = "${config.gtk.cursorTheme.name}";
"Xcursor.size" = 16;
};
}