summaryrefslogtreecommitdiffstats
path: root/bashrc/common/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc/common/env.sh')
-rw-r--r--bashrc/common/env.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bashrc/common/env.sh b/bashrc/common/env.sh
index e02e6ad..9396b53 100644
--- a/bashrc/common/env.sh
+++ b/bashrc/common/env.sh
@@ -3,3 +3,6 @@ export EDITOR=/usr/bin/nano
# set timezone if needed
[[ -z "$TZ" ]] && export TZ=Europe/Berlin
+
+# fix for java gui toolkit to work properly with xmonad
+[[ -n "$(ps x | grep xmonad)" ]] && export AWT_TOOLKIT="MToolkit"