user/eww-wayland: use catppuccin colours
This commit is contained in:
parent
6d49e2b75d
commit
88196824f6
2 changed files with 19 additions and 5 deletions
|
|
@ -1,7 +1,21 @@
|
|||
{ pkgs, ... }: {
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
res = pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "eww-wayland-config";
|
||||
version = "1.0.0";
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
cp -r ${../../res/eww-wayland} $out
|
||||
substituteInPlace $out/eww.scss \
|
||||
--replace-warn "EWW_BACKGROUND" "${config.catppuccin.hexcolors.surface0}" \
|
||||
--replace-warn "EWW_TEXT" "${config.catppuccin.hexcolors.text}" \
|
||||
--replace-warn "EWW_ACCENT" "${config.catppuccin.hexcolors.pink}"
|
||||
'';
|
||||
};
|
||||
in {
|
||||
home.packages = with pkgs; [ socat ];
|
||||
programs.eww = {
|
||||
enable = true;
|
||||
configDir = ../../res/eww-wayland;
|
||||
configDir = res;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
$background: #1a1b26;
|
||||
$accent: #9d7cd8;
|
||||
$foreground: #c0caf5;
|
||||
$background: EWW_BACKGROUND;
|
||||
$accent: EWW_ACCENT;
|
||||
$foreground: EWW_TEXT;
|
||||
|
||||
* {
|
||||
all: unset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue