From c88fd9eaa12c8a3c06502b09c2056d3c91421952 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 3 Sep 2022 06:06:28 +0200 Subject: Use a font point size of 10 on hidpi With my new laptop, a font size of 12pt is rather large and given that hidpi displays usually have a quite large resolution (the name might hint at that), we don't necessarily need to use embedded bitmaps anymore which was one of the reasons why I used a point size of 12. Signed-off-by: aszlig --- pkgs/aszlig/psi/config.patch | 8 ++++---- pkgs/aszlig/psi/default.nix | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'pkgs/aszlig') diff --git a/pkgs/aszlig/psi/config.patch b/pkgs/aszlig/psi/config.patch index 0fe49d66..ea45fbd5 100644 --- a/pkgs/aszlig/psi/config.patch +++ b/pkgs/aszlig/psi/config.patch @@ -131,10 +131,10 @@ index f4b71f53..387793a0 100644 - Sans Serif,11,-1,5,50,0,0,0,0,0 - Sans Serif,11,-1,5,50,0,0,0,0,0 - Sans Serif,9,-1,5,50,0,0,0,0,0 -+ Monospace,12,-1,5,50,0,0,0,0,0 -+ Monospace,12,-1,5,50,0,0,0,0,0 -+ Monospace,12,-1,5,50,0,0,0,0,0 -+ Monospace,12,-1,5,50,0,0,0,0,0 ++ Monospace,@faceSize@,-1,5,50,0,0,0,0,0 ++ Monospace,@faceSize@,-1,5,50,0,0,0,0,0 ++ Monospace,@faceSize@,-1,5,50,0,0,0,0,0 ++ Monospace,@faceSize@,-1,5,50,0,0,0,0,0 diff --git a/pkgs/aszlig/psi/default.nix b/pkgs/aszlig/psi/default.nix index 9f0f12b8..9ca2693f 100644 --- a/pkgs/aszlig/psi/default.nix +++ b/pkgs/aszlig/psi/default.nix @@ -6,6 +6,7 @@ , jid ? "something@example.org" , resource ? "psi-aszlig" +, faceSize ? 12 }: let @@ -55,7 +56,7 @@ in stdenv.mkDerivation rec { ./keep-urgency-hint.patch (substituteAll { src = ./config.patch; - inherit jid resource; + inherit jid resource faceSize; }) ]; -- cgit 1.4.1