Re-theme back to catppuccin mocha with lavender accent

This commit is contained in:
Evie Litherland-Smith 2024-02-29 15:29:19 +00:00
parent 207dd26e5e
commit 135db95075
8 changed files with 32 additions and 15 deletions

View file

@ -31,7 +31,8 @@
defaultUserShell = "zsh"; defaultUserShell = "zsh";
specialArgs = { specialArgs = {
inherit hostName user; inherit hostName user;
accentColour = "base0E"; # magenta accentColour = "base07"; # catppuccin lavender
catppuccinVariant = "Mocha";
}; };
in in
nixpkgs.lib.nixosSystem { nixpkgs.lib.nixosSystem {

View file

@ -1,6 +1,6 @@
{ {
config, config,
accentColour, accentColour ? "base07",
... ...
}: { }: {
services.avizo = { services.avizo = {

View file

@ -1,6 +1,6 @@
{ {
config, config,
accentColour, accentColour ? "base07",
... ...
}: { }: {
programs.bottom = { programs.bottom = {

View file

@ -27,7 +27,7 @@
extraPackages = epkgs: extraPackages = epkgs:
with epkgs; [ with epkgs; [
# theme # theme
modus-themes catppuccin-theme
# spell-checking # spell-checking
flyspell-correct flyspell-correct

View file

@ -2,7 +2,8 @@
config, config,
lib, lib,
pkgs, pkgs,
accentColour, accentColour ? "base07",
catppuccinVariant ? "Mocha",
... ...
}: { }: {
stylix.targets.xresources.enable = true; stylix.targets.xresources.enable = true;
@ -54,9 +55,17 @@
package = pkgs.sweet-folders; package = pkgs.sweet-folders;
name = "Sweet-Rainbow"; name = "Sweet-Rainbow";
}; };
theme = { theme = let
package = pkgs.sweet; accent = "Lavender";
name = "Sweet-Dark"; size = "Standard";
in {
package = with lib.strings;
pkgs.catppuccin-gtk.override {
accents = [(toLower accent)];
size = toLower size;
variant = toLower catppuccinVariant;
};
name = "Catppuccin-${catppuccinVariant}-${size}-${accent}-Dark";
}; };
}; };
xdg.configFile."hypr/hyprpaper.conf".text = '' xdg.configFile."hypr/hyprpaper.conf".text = ''

View file

@ -1,6 +1,6 @@
{ {
config, config,
accentColour, accentColour ? "base07",
... ...
}: { }: {
programs.rofi = { programs.rofi = {

View file

@ -1,7 +1,7 @@
{ {
config, config,
pkgs, pkgs,
accentColour, accentColour ? "base07",
... ...
}: { }: {
home.packages = [pkgs.swaynotificationcenter]; home.packages = [pkgs.swaynotificationcenter];

View file

@ -1,6 +1,11 @@
{pkgs, ...}: { {
lib,
pkgs,
catppuccinVariant ? "Mocha",
...
}: {
stylix = { stylix = {
base16Scheme = ../schemes/modus-vivendi-tinted.yaml; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${lib.strings.toLower catppuccinVariant}.yaml";
autoEnable = false; autoEnable = false;
targets = { targets = {
chromium.enable = true; chromium.enable = true;
@ -14,9 +19,11 @@
popups = 0.5; popups = 0.5;
terminal = 0.85; terminal = 0.85;
}; };
cursor = { cursor = let
package = pkgs.volantes-cursors; variant = "${lib.strings.toLower catppuccinVariant}Dark";
name = "volantes_cursors"; in {
package = pkgs.catppuccin-cursors.${variant};
name = "Catppuccin-${catppuccinVariant}-Dark-Cursors";
}; };
fonts = rec { fonts = rec {
sizes = { sizes = {