2021-10-15 13:54:30 +02:00
|
|
|
# ~/.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
|
|
|
|
|
2022-03-21 11:51:38 +01:00
|
|
|
# Antidot
|
2022-04-04 11:27:08 +02:00
|
|
|
eval "$(antidot init)"
|
2021-10-15 13:54:30 +02:00
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
2022-07-03 08:59:33 +02:00
|
|
|
if [ -d "$HOME/bin" ]; then
|
|
|
|
PATH="$HOME/bin:$PATH"
|
2021-10-15 13:54:30 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
2022-07-03 08:59:33 +02:00
|
|
|
if [ -d "$HOME/.local/bin" ]; then
|
|
|
|
PATH="$HOME/.local/bin:$PATH"
|
2021-10-15 13:54:30 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private ~/.local/bin if it exists
|
2022-07-03 08:59:33 +02:00
|
|
|
if [ -d "$HOME/.local/bin" ]; then
|
|
|
|
PATH="$HOME/.local/bin:$PATH"
|
2021-10-15 13:54:30 +02:00
|
|
|
fi
|
|
|
|
|
2021-12-25 12:27:02 +01:00
|
|
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"
|
2021-12-09 13:19:52 +01:00
|
|
|
|
2021-10-19 10:30:24 +02:00
|
|
|
export GTK_IM_MODULE=fcitx
|
|
|
|
export QT_IM_MODULE=fcitx
|
|
|
|
export XMODIFIERS="@im=fcitx"
|
2022-08-06 15:44:31 +02:00
|
|
|
export GLFW_IM_MODULE=fcitx
|
2021-10-19 10:30:24 +02:00
|
|
|
export INPUT_METHOD=fcitx
|
|
|
|
export IMSETTINGS_MODULE=fcitx
|
2023-03-03 07:22:54 +01:00
|
|
|
export SDL_IM_MODULE=fcitx
|
2021-12-25 12:27:02 +01:00
|
|
|
|
2022-07-03 09:07:20 +02:00
|
|
|
if [[ "$XDG_SESSION_TYPE" == 'wayland' ]]; then
|
2022-07-03 08:59:33 +02:00
|
|
|
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
|
|
|
|
|
2022-03-21 11:51:38 +01:00
|
|
|
# export https_proxy=http://127.0.0.1:8080/
|
|
|
|
# export no_proxy="localhost,127.0.0.1,127.0.1.1"
|
2022-01-22 07:51:27 +01:00
|
|
|
|
2021-12-25 12:27:02 +01:00
|
|
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]]; then
|
2022-07-03 08:59:33 +02:00
|
|
|
tmux
|
2021-12-25 12:27:02 +01:00
|
|
|
fi
|