diff options
author | Profpatsch <mail@profpatsch.de> | 2016-05-03 00:54:18 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2016-05-03 00:54:18 +0200 |
commit | 3ddd93b6292671b1d5bf7c6365fcaddd51f510c7 (patch) | |
tree | 4e8c23871f64e427914d87b6019985f614dca5c8 | |
parent | 6c03a298206886667b4cafc99dfef2d135a3d819 (diff) |
machines/katara: invert coloring of sent
Slides with white background are an insult to the viewers. Also adjusts some other sizing stuff.
-rw-r--r-- | machines/profpatsch/pkgs.nix | 2 | ||||
-rw-r--r-- | machines/profpatsch/sent-bg.patch | 18 |
2 files changed, 19 insertions, 1 deletions
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; + |