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