2015-03-01 10:09:06 +05:00
|
|
|
# Java-specific exports.
|
|
|
|
# More or less pretty fonts in Java programs.
|
2015-08-14 21:43:54 +05:00
|
|
|
# It should be exported only if we have X session running.
|
|
|
|
if [ ! -z ${DISPLAY} ]; then
|
|
|
|
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
|
|
|
|
export JAVA_FONTS=/usr/share/fonts/TTF
|
|
|
|
fi
|