diff --git a/.bash_profile b/.bash_profile index f3724cc..7d62552 100644 --- a/.bash_profile +++ b/.bash_profile @@ -7,6 +7,10 @@ # custom scripts and programs PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.config/scripts/bin:$PATH" +PATH="/var/lib/flatpak/exports/bin:$PATH" + +# flatpak desktop files +XDG_DATA_DIRS="/var/lib/flatpak/exports/share:$XDG_DATA_DIRS" if grep "arch-laptop" /etc/hostname &> /dev/null ; then export IS_LAPTOP=1 @@ -15,6 +19,10 @@ fi # for java applicatons export _JAVA_AWT_WM_NONREPARENTING=1 +export XMODIFIERS="@im=fcitx" +export QT_IM_MODULE=fcitx +export GTK_IM_MODULE=fcitx + if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ ! -z "$IS_LAPTOP" ]]; then WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 dbus-run-session sway