38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
export XCURSOR_SIZE=24
|
|
export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
|
|
export QT_QPA_PLATFORM=wayland
|
|
export QT_IM_MODULE=fcitx
|
|
export DISABLE_QT5_COMPAT=1
|
|
export QT_QPA_PLATFORMTHEME=qt6ct
|
|
export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
|
export QT_ENABLE_HIGHDPI_SCALING=0
|
|
export QT_FONT_DPI=96
|
|
export GTK_THEME=Adwaita:dark
|
|
export GLFW_IM_MODULE=ibus
|
|
export SDL_IM_MODULE=fcitx
|
|
export SDL_VIDEODRIVER=wayland
|
|
export CLUTTER_BACKEND=wayland
|
|
export ELECTRON_OZONE_PLATFORM_HINT=wayland
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export XDG_CURRENT_DESKTOP=river
|
|
|
|
case "${HOST}" in
|
|
*-desktop)
|
|
#export GDK_SCALE=2
|
|
export WLR_DRM_NO_ATOMIC=1
|
|
# export JDK_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on
|
|
# -Dswing.aatext=true
|
|
# -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
|
|
# -Dsun.java2d.opengl=true
|
|
# -Dsun.java2d.uiScale=3"
|
|
;;
|
|
*-portable)
|
|
# export JDK_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on
|
|
# -Dswing.aatext=true
|
|
# -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
|
|
# -Dsun.java2d.opengl=true
|
|
# -Dsun.java2d.uiScale=2"
|
|
;;
|
|
esac
|