From 017cd3bbd9070dd42e5710459be613dd093dc5f8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 26 Jan 2019 12:18:05 +0100 Subject: Scale GTK3 for highdpi display Looks slightly to large for the few GTK3 applications I use regularly but buttons are way to small otherwise. --- gui/gtk.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gui/gtk.nix b/gui/gtk.nix index bd1465a..adb54d8 100644 --- a/gui/gtk.nix +++ b/gui/gtk.nix @@ -66,4 +66,9 @@ in { enable = true; useGtkTheme = true; }; + + home.sessionVariables = { + GDK_SCALE = "2"; + GDK_DPI_SCALE = "0.5"; + }; } -- cgit v1.2.3