dotfiles/dot_profile

57 lines
1.5 KiB
Plaintext

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# Antidot
eval "$(antidot init)"
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin:$PATH"
fi
# set PATH so it includes user's private ~/.local/bin if it exists
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin:$PATH"
fi
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
export GLFW_IM_MODULE=fcitx
export INPUT_METHOD=fcitx
export IMSETTINGS_MODULE=fcitx
export SDL_IM_MODULE=fcitx
if [[ "$XDG_SESSION_TYPE" == 'wayland' ]]; then
export MOZ_ENABLE_WAYLAND=1
export CLUTTER_BACKEND=wayland
export QT_QPA_PLATFORM="wayland;xcb"
export XCURSOR_SIZE=1
export ECORE_EVAS_ENGINE=wayland
export ELM_ENGINE=wayland_egl
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export NO_AT_BRIDGE=1
fi
# export https_proxy=http://127.0.0.1:8080/
# export no_proxy="localhost,127.0.0.1,127.0.1.1"
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]]; then
tmux
fi