summaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2020-08-17 21:23:04 -0400
committerAndrew <saintruler@gmail.com>2020-08-17 21:23:04 -0400
commit31b7f8f3e2d32bb36a5afbbb4ec2a886ce6038db (patch)
tree5422f0fcc3fd9b46f6a9c3ab017d12023ebf816a /.xprofile
parentcafeed16ba66e7ed9d8d84d5616ea2b2503cf0ba (diff)
Changed autostarting in .profile
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