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 ];
|
home.packages = with pkgs; [ socat ];
|
||||||
programs.eww = {
|
programs.eww = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configDir = ../../res/eww-wayland;
|
configDir = res;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
$background: #1a1b26;
|
$background: EWW_BACKGROUND;
|
||||||
$accent: #9d7cd8;
|
$accent: EWW_ACCENT;
|
||||||
$foreground: #c0caf5;
|
$foreground: EWW_TEXT;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
all: unset;
|
all: unset;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue