feat: add theme
shamelessly stolen from github:jnsgruk/nixos-config Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
63f21c6a3f
commit
0344d3ca8a
5 changed files with 207 additions and 1 deletions
69
lib/theme/default.nix
Normal file
69
lib/theme/default.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit ((import ./colours.nix)) colours;
|
||||
libx = import ./lib.nix { inherit (pkgs) lib; };
|
||||
in
|
||||
rec {
|
||||
inherit (libx) hexToRgb;
|
||||
inherit colours;
|
||||
|
||||
catppuccin = {
|
||||
flavor = "macchiato";
|
||||
accent = "blue";
|
||||
size = "standard";
|
||||
};
|
||||
|
||||
wallpaper = ./wallpapers/norway.png;
|
||||
|
||||
gtkTheme = {
|
||||
name = "catppuccin-macchiato-blue-standard";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
size = catppuccin.size;
|
||||
variant = catppuccin.flavor;
|
||||
accents = [ catppuccin.accent ];
|
||||
};
|
||||
};
|
||||
|
||||
qtTheme = {
|
||||
name = "Catppuccin-Macchiato-Blue";
|
||||
package = pkgs.catppuccin-kvantum.override {
|
||||
variant = "Macchiato";
|
||||
accent = "Blue";
|
||||
};
|
||||
};
|
||||
|
||||
iconTheme = rec {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
iconPath = "${package}/share/icons/${name}";
|
||||
};
|
||||
|
||||
cursorTheme = {
|
||||
name = "Adwaita";
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
size = 24;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
default = {
|
||||
name = "Inter";
|
||||
package = pkgs.inter;
|
||||
size = "11";
|
||||
};
|
||||
iconFont = {
|
||||
name = "Inter";
|
||||
package = pkgs.inter;
|
||||
};
|
||||
monospace = {
|
||||
name = "MesloLGSDZ Nerd Font Mono";
|
||||
package = pkgs.nerdfonts.override { fonts = [ "Meslo" ]; };
|
||||
};
|
||||
emoji = {
|
||||
name = "Joypixels";
|
||||
package = pkgs.joypixels;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue