summaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile7
1 files changed, 6 insertions, 1 deletions
diff --git a/.xprofile b/.xprofile
index 52fbe9f..de0b9e4 100644
--- a/.xprofile
+++ b/.xprofile
@@ -1,6 +1,11 @@
#!/bin/sh
-setxkbmap -layout us,ru -option "grp:alt_shift_toggle,grp:caps_toggle"
+if [ "$DISPLAY_SESSION" != "openbox" ] && \
+ [ "$DISPLAY_SESSION" != "dwm" ]; then
+ exit 0
+fi
+
+setxkbmap -layout us,ru -option "grp:alt_shift_toggle"
dunst &
# Window manager specific config