From fcc1cc93d7ca01edd61ecf54d0f90ef5fc7b117c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Wed, 7 Sep 2022 22:48:23 -0600 Subject: [PATCH] =?UTF-8?q?shenv/altera:=20a=C3=B1ade=20nightmode=20a=20qu?= =?UTF-8?q?artus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/shenvs/altera.nix | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/home/shenvs/altera.nix b/home/shenvs/altera.nix index e554538..af3bbc8 100644 --- a/home/shenvs/altera.nix +++ b/home/shenvs/altera.nix @@ -43,5 +43,34 @@ with lib; { }) ]; in concatStringsSep "\n" inputs; + + # Usar gtk en aplicaciones de jvm + home.sessionVariables._JAVA_OPTIONS = concatStringsSep " " [ + "-Dawt.useSystemAAFontSettings=on" + "-Dswing.aatext=true" + "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" + "-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" + ]; + + gtk = { + enable = true; + + gtk2.extraConfig = '' + gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ + gtk-menu-images=1 + gtk-button-images=1 + ''; + + font = { + package = pkgs.noto-fonts; + name = "Noto Sans Regular"; + #size = 14; <- caga layout de páginas + }; + + theme = { + package = pkgs.materia-theme; + name = "Materia-dark"; + }; + }; }; -} +} \ No newline at end of file