summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-05-16 20:15:14 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-05-16 20:15:14 +0200
commit378313e07bf819379cbbea96267c97592f3eab64 (patch)
tree2876913f8fe412ec087afb4a735e76830e7955ee
parent6f8a8bbdafc553d74b445f626c08165c0eb4f2f5 (diff)
Make Java use system's GTK theme
-rw-r--r--.config/zsh/.zprofile3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile
index 8f22e1e..f5d88a1 100644
--- a/.config/zsh/.zprofile
+++ b/.config/zsh/.zprofile
@@ -14,7 +14,8 @@ export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
-export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
+export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
+export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel ${_JAVA_OPTIONS}"
export SSB_HOME="$XDG_DATA_HOME"/zoom
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default