about summary refs log tree commit diff
path: root/programs/sent
diff options
context:
space:
mode:
Diffstat (limited to 'programs/sent')
-rw-r--r--programs/sent/default.nix13
-rw-r--r--programs/sent/gruvbox.patch15
2 files changed, 28 insertions, 0 deletions
diff --git a/programs/sent/default.nix b/programs/sent/default.nix
new file mode 100644
index 0000000..e4f5a3d
--- /dev/null
+++ b/programs/sent/default.nix
@@ -0,0 +1,13 @@
+{ pkgs, ... }:
+
+let
+  sent = pkgs.sent.override {
+    patches = [
+      ./gruvbox.patch
+    ];
+  };
+in {
+  home.packages = [
+    sent
+  ];
+}
diff --git a/programs/sent/gruvbox.patch b/programs/sent/gruvbox.patch
new file mode 100644
index 0000000..cc86ddf
--- /dev/null
+++ b/programs/sent/gruvbox.patch
@@ -0,0 +1,15 @@
+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 */
++	"#8ec07c", /* foreground color */
++	"#282828", /* background color */
+ };
+ 
+ static const float linespacing = 1.4;