From a4666bf87d8408e7f0e4c58d7b2d1b458b9ae26e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 10 Jan 2024 11:04:20 +0000 Subject: [PATCH] Tweak catppuccin-mocha background colours Replace background and foreground colours for base16 scheme with those from emacs modus-vivdendi-tinted Override background colours in base16 (base00 and base01), waybar and hyprland Override text colours in base16 (base05 and base04) --- flake.nix | 9 ++++++++- home/hyprland/config.nix | 4 ++-- home/hyprland/waybar/style.css | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 67c0cf7b..2e01da75 100644 --- a/flake.nix +++ b/flake.nix @@ -106,11 +106,18 @@ targets = { chromium.enable = true; console.enable = true; - lightdm.enable = true; }; image = ./wallpapers/space.png; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; + override = { + scheme = + "Catppuccin Mocha, using fg and bg colours from emacs modus-vivdendi-tinted"; + base00 = "0d0e1c"; + base01 = "1d2235"; + base04 = "c6daff"; + base05 = "ffffff"; + }; polarity = "dark"; opacity = { popups = 0.5; diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index f9aa9bd3..85652ae4 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -57,7 +57,7 @@ in '' decoration { rounding = 10 - col.shadow=rgba(1e1e2e99) + col.shadow=rgba(0d0e1c99) drop_shadow = yes shadow_ignore_window = true shadow_range = 4 @@ -83,7 +83,7 @@ in '' animation = workspaces, 1, 6, default } misc { - background_color=rgb(1e1e2e) + background_color=rgb(0d0e1c) disable_autoreload = true } diff --git a/home/hyprland/waybar/style.css b/home/hyprland/waybar/style.css index f10fe901..a0e6bc04 100644 --- a/home/hyprland/waybar/style.css +++ b/home/hyprland/waybar/style.css @@ -5,7 +5,7 @@ * */ -@define-color base #1e1e2e; +@define-color base #0d0e1c; @define-color mantle #181825; @define-color crust #11111b;