aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-02-01 18:09:53 +0100
committerAdrian Kummerlaender2019-02-01 18:09:53 +0100
commit23daf221614e2206c9b9e7d1c6f29a3d20522aee (patch)
tree40bc09673e2fde26774fb7f10b7755fc8690ec57 /gui
parent717c4c3ce8b5570a53ec8c4d50be00a087b48a70 (diff)
downloadnixos_home-23daf221614e2206c9b9e7d1c6f29a3d20522aee.tar
nixos_home-23daf221614e2206c9b9e7d1c6f29a3d20522aee.tar.gz
nixos_home-23daf221614e2206c9b9e7d1c6f29a3d20522aee.tar.bz2
nixos_home-23daf221614e2206c9b9e7d1c6f29a3d20522aee.tar.lz
nixos_home-23daf221614e2206c9b9e7d1c6f29a3d20522aee.tar.xz
nixos_home-23daf221614e2206c9b9e7d1c6f29a3d20522aee.tar.zst
nixos_home-23daf221614e2206c9b9e7d1c6f29a3d20522aee.zip
Disable GTK3 scaling
Diffstat (limited to 'gui')
-rw-r--r--gui/gtk.nix2
-rw-r--r--gui/hidpi.nix7
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