diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-10-05 11:09:14 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-01 18:37:35 +0200 |
commit | 660254d03331c73366c0a1241b1e361ac0e2c88b (patch) | |
tree | e72da93e26cd87f02a91a0d5184905e21a6271d3 /zsh | |
parent | 58a7db648073764b5ab004a807877c87a30642df (diff) | |
download | dotfiles-660254d03331c73366c0a1241b1e361ac0e2c88b.tar.xz |
zprofile: Use ibus instead of xim
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zprofile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile index 83b16c5..cf99c58 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -34,8 +34,6 @@ export LESSHISTFILE="$XDG_CACHE_HOME"/lesshist export SDL_AUDIODRIVER=pulse -export GTK_IM_MODULE=xim - export SUDO_PROMPT=$'\e[31mSUDO\e[m password for \e[34m%p\e[m: ' export SHORTHOST=$(hostname -s) @@ -45,13 +43,17 @@ export VIRTUAL_ENV_DISABLE_PROMPT=1 export FIGLET_FONTDIR="$HOME"/.local/share/figlet -if [[ -f "$ZDOTDIR"/profile-"$SHORTHOST" ]]; then - source "$ZDOTDIR"/profile-"$SHORTHOST" -fi +export GTK_IM_MODULE=ibus +export XMODIFIERS=@im=ibus +export QT_IM_MODULE=ibus # LS_COLORS is now required for `ls` to use colors source <(dircolors -b "$XDG_CONFIG_HOME"/dircolors) +if [[ -f "$ZDOTDIR"/profile-"$SHORTHOST" ]]; then + source "$ZDOTDIR"/profile-"$SHORTHOST" +fi + if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then exec startx "$XDG_CONFIG_HOME"/X11/xinitrc -- -configdir "$XDG_CONFIG_HOME"/X11/xorg.conf.d fi |