From 23daf221614e2206c9b9e7d1c6f29a3d20522aee Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 1 Feb 2019 18:09:53 +0100 Subject: Disable GTK3 scaling --- gui/gtk.nix | 2 +- gui/hidpi.nix | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/gui/gtk.nix b/gui/gtk.nix index 4c59a7f..3aec4ea 100644 --- a/gui/gtk.nix +++ b/gui/gtk.nix @@ -27,7 +27,7 @@ in { txt_fg = "101010"; gradient = 0.0; roundness = 0; - spacing = 1; + spacing = 5; wm_border_focus = "909636"; wm_border_unfocus = "909636"; gtk3_generate_dark = false; diff --git a/gui/hidpi.nix b/gui/hidpi.nix index 5ea63c2..d687ca7 100644 --- a/gui/hidpi.nix +++ b/gui/hidpi.nix @@ -1,11 +1,6 @@ { pkgs, ... }: { - home.sessionVariables = { - GDK_SCALE = "2"; - GDK_DPI_SCALE = "0.5"; - }; - xresources.extraConfig = '' Xft.dpi: 160 Xft.autohint: 0 @@ -16,6 +11,8 @@ Xft.rgba: rgb ''; + xsession.pointerCursor.size = 48; + home.file.".config/twmn/twmn.conf".text = '' [gui] font_size=24 -- cgit v1.2.3