diff --git a/.config/environment.d/envvars.conf b/.config/environment.d/envvars.conf index b499916..058986d 100644 --- a/.config/environment.d/envvars.conf +++ b/.config/environment.d/envvars.conf @@ -1,2 +1,4 @@ # Active wayland pour Firefox MOZ_ENABLE_WAYLAND=1 +# Modifie le comportement JAVA pour PHPStorm +_JAVA_AWT_WM_NONREPARENTING=1 diff --git a/.profile b/.profile index cbde929..415875f 100644 --- a/.profile +++ b/.profile @@ -26,6 +26,13 @@ fi if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then case $HOST in fuz | fuztest) + variables_file="${HOME}/.config/environment.d/envvars.conf" + if [[ -f "${variables_file}" ]]; then + # charge seulement les lignes sans "#" (non commentées) + for line in `cat "${variables_file}"|grep -Ev '^#'`; do + export "$line" + done + fi exec sway ;; *) @@ -33,3 +40,4 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then ;; esac fi +# vim: ts=2 sw=2 et nu