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";
specialArgs = {
inherit hostName user;
accentColour = "base0E"; # magenta
accentColour = "base07"; # catppuccin lavender
catppuccinVariant = "Mocha";
};
in
nixpkgs.lib.nixosSystem {

View file

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

View file

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

View file

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

View file

@ -2,7 +2,8 @@
config,
lib,
pkgs,
accentColour,
accentColour ? "base07",
catppuccinVariant ? "Mocha",
...
}: {
stylix.targets.xresources.enable = true;
@ -54,9 +55,17 @@
package = pkgs.sweet-folders;
name = "Sweet-Rainbow";
};
theme = {
package = pkgs.sweet;
name = "Sweet-Dark";
theme = let
accent = "Lavender";
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 = ''

View file

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

View file

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

View file

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