From 3ddd93b6292671b1d5bf7c6365fcaddd51f510c7 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Tue, 3 May 2016 00:54:18 +0200 Subject: machines/katara: invert coloring of sent Slides with white background are an insult to the viewers. Also adjusts some other sizing stuff. --- machines/profpatsch/pkgs.nix | 2 +- machines/profpatsch/sent-bg.patch | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 machines/profpatsch/sent-bg.patch (limited to 'machines') diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix index f87ca3e2..68915fdb 100644 --- a/machines/profpatsch/pkgs.nix +++ b/machines/profpatsch/pkgs.nix @@ -39,7 +39,7 @@ let }).ghcWithPackages; }; - # sent = pkgs:q.sent.override { patches = [ ./sent-bg.patch ]; }; + sent = pkgs.sent.override { patches = [ ./sent-bg.patch ]; }; # mpv = pkgs.mpv.override { scripts = [ pkgs.mpvScripts.convert ]; }; diff --git a/machines/profpatsch/sent-bg.patch b/machines/profpatsch/sent-bg.patch new file mode 100644 index 00000000..acf92ebc --- /dev/null +++ b/machines/profpatsch/sent-bg.patch @@ -0,0 +1,18 @@ +diff --git a/config.def.h b/config.def.h +index 92d577c..87baee5 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -8,8 +8,11 @@ static char *fontfallbacks[] = { + #define NUMFONTSCALES 42 + #define FONTSZ(x) ((int)(10.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTSCALES-1] */ + +-static const char *fgcol = "#000000"; +-static const char *bgcol = "#FFFFFF"; ++/* FUCK YOU */ ++/* static const char *fgcol = "#000000"; */ ++/* static const char *bgcol = "#FFFFFF"; */ ++static const char *bgcol = "#000000"; ++static const char *fgcol = "#FFFFFF"; + + static const float linespacing = 1.4; + -- cgit 1.4.1