Streamline cursor theme
Some apps use different sources. I setup xresources and ensure there is only one icon theme (includes cursor). This uses the single source of truth, thanks to nix / home-manager. Except snap packages, those still don't work.
This commit is contained in:
parent
70d5002cbf
commit
e782687068
3
home.nix
3
home.nix
|
@ -54,6 +54,9 @@
|
|||
xdg = import ./home/xdg.nix {
|
||||
inherit pkgs;
|
||||
};
|
||||
xresources = import ./home/xresources.nix {
|
||||
inherit config;
|
||||
};
|
||||
|
||||
qt = import ./home/qt.nix {
|
||||
inherit pkgs;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
tmpfiles.rules = [
|
||||
"L ${config.home.homeDirectory}/.themes - - - - ${config.home.profileDirectory}/share/themes"
|
||||
"L ${config.home.homeDirectory}/.icons - - - - ${config.home.profileDirectory}/share/icons"
|
||||
"L ${config.home.homeDirectory}/.icons/default - - - - ${config.home.profileDirectory}/share/icons/${config.gtk.iconTheme.name}"
|
||||
"L ${config.home.homeDirectory}/.local/share/applications - - - - ${config.home.profileDirectory}/share/applications"
|
||||
];
|
||||
}
|
||||
|
|
8
home/xresources.nix
Normal file
8
home/xresources.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config }:
|
||||
|
||||
{
|
||||
properties = {
|
||||
"Xcursor.theme" = "${config.gtk.cursorTheme.name}";
|
||||
"Xcursor.size" = 16;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue