Define cursor and use xresources module

This commit is contained in:
Sam 2024-07-20 20:23:02 +01:00
parent a5e41acf63
commit 87f30f8ace
1 changed files with 43 additions and 38 deletions

View File

@ -1,4 +1,5 @@
{ config { pkgs
, config
, ... , ...
}: { }: {
imports = [ imports = [
@ -40,9 +41,15 @@
}; };
}; };
home.file.".Xresources" = { home.pointerCursor = {
recursive = true; x11.enable = true;
text = '' name = "Vimix-Cursors";
package = pkgs.vimix-cursor-theme;
size = 64;
gtk.enable = true;
};
xresources.extraConfig = ''
! st ! st
st.alpha: 0.8 st.alpha: 0.8
St.font: monospace:pixelsize=21:antialias=true:autohint=true; St.font: monospace:pixelsize=21:antialias=true:autohint=true;
@ -74,8 +81,6 @@
Nsxiv.bar.background: #${config.colorScheme.colors.base00} Nsxiv.bar.background: #${config.colorScheme.colors.base00}
Nsxiv.bar.foreground: #${config.colorScheme.colors.base05} Nsxiv.bar.foreground: #${config.colorScheme.colors.base05}
Nsxiv.bar.font: monospace:size=12 Nsxiv.bar.font: monospace:size=12
''; '';
};
} }