summaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile4
1 files changed, 3 insertions, 1 deletions
diff --git a/.xprofile b/.xprofile
index 715f244..3f2790f 100644
--- a/.xprofile
+++ b/.xprofile
@@ -12,7 +12,9 @@ dunst &
if [ "$DESKTOP_SESSION" = "dwm" ]; then
compositor_args="-o 0"
dwmblocks &
-elif [ "$DESKTOP_SESSION" = "xmonad" ]; then
+ pgrep -x sxhkd > /dev/null || sxhkd -c $XDG_CONFIG_HOME/sxhkd/sxhkdrc.dwm &
+elif [ "$DESKTOP_SESSION" = "xmonad" ] || \
+ [ "$DESKTOP_SESSION" = "bspwm" ]; then
compositor_args="-o 0"
fi