This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-06-19 21:58:59 +02:00
parent a2c8c6e4d6
commit 39e1806e7e
11 changed files with 243 additions and 74 deletions

35
home-modules/sent.nix Normal file
View File

@@ -0,0 +1,35 @@
{ pkgs, rice, user, ... }:
let
my-sent = pkgs.sent.override {
patches = [
./sent.patch
# /home/${user}/.local/share/sent.patch
# (builtins.toFile "/home/${user}/
];
};
in
{
home = {
packages = [
# pkgs.sent
my-sent
];
file.".local/share/sent.patch".text = ''
diff --git a/config.def.h b/config.def.h
index 60eb376..64e7f05 100644
--- a/config.def.h
+++ b/config.def.h
@@ -9,8 +9,8 @@ static char *fontfallbacks[] = {
#define FONTSZ(x) ((int)(10.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTSCALES-1] */
static const char *colors[] = {
- "#000000", /* foreground color */
- "#FFFFFF", /* background color */
+ "${rice.color.foreground}", /* foreground color */
+ "${rice.color.background}", /* background color */
};
static const float linespacing = 1.4;
'';
};
}