2020-05-08 05:10:34 +02:00
|
|
|
# <3 default editor
|
|
|
|
export EDITOR="vim"
|
|
|
|
export VISUAL="vim"
|
|
|
|
|
|
|
|
# Nek Java fix?
|
|
|
|
export NLS_LANG=American_America.UTF8
|
|
|
|
|
|
|
|
# Guile Zadeve
|
|
|
|
export GUILE_WARN_DEPRECATED="detailed"
|
|
|
|
|
|
|
|
# PhantomJS binary location
|
|
|
|
export PHANTOMJS_BIN=/usr/bin/phantomjs
|
|
|
|
|
|
|
|
# emacspeak speech server
|
|
|
|
export DTK_PROGRAM=espeak
|
|
|
|
|
2020-11-11 00:16:56 +01:00
|
|
|
# Racket pot
|
|
|
|
export PATH="$HOME/.racket/7.2/bin:$PATH"
|
|
|
|
|
|
|
|
# Rust paketi
|
|
|
|
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
|
|
|
|
|
2020-05-08 05:10:34 +02:00
|
|
|
# User bin
|
2020-11-11 00:16:56 +01:00
|
|
|
export PATH="$HOME/bin:$PATH"
|
|
|
|
|
|
|
|
# Firefox webrender
|
|
|
|
export MOZ_WEBRENDER=1
|
|
|
|
|
|
|
|
# Wayland pls!
|
|
|
|
export KITTY_ENABLE_WAYLAND=1
|
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
2021-03-10 18:38:27 +01:00
|
|
|
#export XDG_SESSION_TYPE=wayland
|
2020-11-11 00:16:56 +01:00
|
|
|
|
|
|
|
# Tole bojda ni dobra ideja (pravi wiki!)
|
|
|
|
#export GDK_BACKEND=wayland
|
|
|
|
|
2021-03-10 18:38:27 +01:00
|
|
|
# QT nastavitve
|
|
|
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
|
|
export QT_FONT_DPI=95
|
|
|
|
|
2020-11-11 00:16:56 +01:00
|
|
|
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=lcd -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel $_JAVA_OPTIONS"
|
|
|
|
export JAVA_FONTS="/usr/share/fonts/TTF"
|
2021-03-10 18:38:27 +01:00
|
|
|
#export QT_QPA_PLATFORM=wayland-egl
|
2020-11-11 00:16:56 +01:00
|
|
|
export QT_WAYLAND_FORCE_DPI=physical
|
|
|
|
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
2020-05-08 05:10:34 +02:00
|
|
|
|
|
|
|
# Loadamo sway na tty5!
|
|
|
|
# If running from tty1 start sway
|
2020-11-11 00:16:56 +01:00
|
|
|
if [ "$(tty)" = "/dev/tty1" ]; then
|
2021-03-10 18:38:27 +01:00
|
|
|
QT_QPA_PLATFORM=wayland-egl SDL_VIDEODRIVER=wayland exec sway
|
2020-05-08 05:10:34 +02:00
|
|
|
fi
|