summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2019-05-23 15:19:37 +0200
committerJokler <jokler.contact@gmail.com>2019-05-23 15:19:37 +0200
commit9cdfe4800e51f1905cf1dc13e698da170b44a339 (patch)
tree47767a2aab69f9cf92c3de364c1284457a397749
parent0b0e59d9dda5571b69e3883b6a3ae356dbae828e (diff)
downloaddotfiles-9cdfe4800e51f1905cf1dc13e698da170b44a339.tar.gz
dotfiles-9cdfe4800e51f1905cf1dc13e698da170b44a339.zip
Add .xprofile and move exports from .zshrc to it
-rw-r--r--.xprofile17
-rw-r--r--.zshrc11
2 files changed, 20 insertions, 8 deletions
diff --git a/.xprofile b/.xprofile
new file mode 100644
index 0000000..b934078
--- /dev/null
+++ b/.xprofile
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+export PATH="$PATH:$HOME/scripts:/usr/games"
+export EDITOR='vim'
+export BROWSER='firefox'
+
+# Launcher for clipmenu
+export CM_LAUNCHER=rofi
+export QT_STYLE_OVERRIDE=gtk2
+
+# ibus setup
+export PATH="$PATH:$HOME/scripts:/usr/games"
+export GTK_IM_MODULE=ibus
+export XMODIFIERS=@im=ibus
+export QT_IM_MODULE=ibus
+
+ibus-daemon -drx
diff --git a/.zshrc b/.zshrc
index 81531d9..e9e8b81 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,15 +1,10 @@
export ZSH="/home/jokler/.oh-my-zsh"
ZSH_THEME="robbyrussell"
-plugins=(git)
-source $ZSH/oh-my-zsh.sh
-export EDITOR='vim'
-export BROWSER='firefox'
-export PATH="$PATH:$HOME/scripts:/usr/games"
+plugins=(git)
-# Launcher for clipmenu
-export CM_LAUNCHER=rofi
-export QT_STYLE_OVERRIDE=gtk2
+source $ZSH/oh-my-zsh.sh
+source /usr/share/doc/pkgfile/command-not-found.zsh
alias ls="/usr/bin/exa --git"
alias cat="/usr/bin/bat"