about summary refs log tree commit diff
path: root/programs/sent
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-10-23 19:09:02 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-10-23 19:09:02 +0200
commite7b6d7f146d4d538617545cbe538695bf4685dd0 (patch)
tree3307e303762ddb17f5073b59c39fc90e989a4fc2 /programs/sent
parent4a196446614f5235079efb9fa5cccb2beeaccc9d (diff)
downloaddots-e7b6d7f146d4d538617545cbe538695bf4685dd0.tar.gz
dots-e7b6d7f146d4d538617545cbe538695bf4685dd0.zip
Update config
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;