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(+) (limited to 'gui/gtk.nix') 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 From 0af62a4fa73b50e605ff5d6af91d2a228771a446 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 26 Jan 2019 21:54:52 +0100 Subject: Enable gtk2 hidpi flag in oomox-theme --- gui/gtk.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/gtk.nix') diff --git a/gui/gtk.nix b/gui/gtk.nix index adb54d8..53f8c3b 100644 --- a/gui/gtk.nix +++ b/gui/gtk.nix @@ -31,6 +31,7 @@ in { wm_border_focus = "909636"; wm_border_unfocus = "909636"; gtk3_generate_dark = false; + gtk2_hidpi = true; }; }; -- cgit v1.2.3 From 8baa7a0b67be91fe22d6f668440466ab857554c5 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 31 Jan 2019 14:44:07 +0100 Subject: Add thesaurus scratchpad --- gui/gtk.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/gtk.nix') diff --git a/gui/gtk.nix b/gui/gtk.nix index 53f8c3b..d3226d1 100644 --- a/gui/gtk.nix +++ b/gui/gtk.nix @@ -69,7 +69,7 @@ in { }; home.sessionVariables = { - GDK_SCALE = "2"; - GDK_DPI_SCALE = "0.5"; + GDK_SCALE = "2"; + GDK_DPI_SCALE = "0.5"; }; } -- cgit v1.2.3 From b6fb8d0ad3993eccb812750125252dda1764d074 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 31 Jan 2019 20:52:34 +0100 Subject: Extract hidpi support --- gui/gtk.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gui/gtk.nix') diff --git a/gui/gtk.nix b/gui/gtk.nix index d3226d1..4c59a7f 100644 --- a/gui/gtk.nix +++ b/gui/gtk.nix @@ -31,7 +31,7 @@ in { wm_border_focus = "909636"; wm_border_unfocus = "909636"; gtk3_generate_dark = false; - gtk2_hidpi = true; + gtk2_hidpi = false; }; }; @@ -67,9 +67,4 @@ in { enable = true; useGtkTheme = true; }; - - home.sessionVariables = { - GDK_SCALE = "2"; - GDK_DPI_SCALE = "0.5"; - }; } -- cgit v1.2.3