summaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile18
1 files changed, 12 insertions, 6 deletions
diff --git a/.xprofile b/.xprofile
index f178ec3..27818db 100644
--- a/.xprofile
+++ b/.xprofile
@@ -1,18 +1,18 @@
#!/bin/sh
-if [ "$DISPLAY_SESSION" != "openbox" ] && \
- [ "$DISPLAY_SESSION" != "xmonad" ] && \
- [ "$DISPLAY_SESSION" != "dwm" ]; then
- exit 0
-fi
+if [ "$DESKTOP_SESSION" = "openbox-session" ] || \
+ [ "$DESKTOP_SESSION" = "xmonad" ] || \
+ [ "$DESKTOP_SESSION" = "dwm" ]; then
setxkbmap -layout us,ru -option "grp:alt_shift_toggle"
dunst &
# Window manager specific config
-if [ "$DISPLAY_SESSION" = "dwm" ]; then
+if [ "$DESKTOP_SESSION" = "dwm" ]; then
compositor_args="-o 0"
dwmblocks &
+elif [ "$DESKTOP_SESSION" = "xmonad" ]; then
+ compositor_args="-o 0"
fi
# Host specific config
@@ -33,3 +33,9 @@ if ! [ $(command -v compton) ]; then
fi
compton -c --config $XDG_CONFIG_HOME/compton/compton.conf $compositor_args &
+
+fi
+
+export TERMINAL="st"
+export EDITOR="nvim"
+export BROWSER="qutebrowser"