summaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-06-14 20:00:15 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-06-14 20:00:15 +0400
commitae5dbf8bdbd429186a780d70acd0981c8c3b6b11 (patch)
tree348b5cb3b643fe803ccba97c66d6049e59f1e576 /.xprofile
parent4dc14d0117962e48d239da5f3fa86bd1b5ad4127 (diff)
Changed default WM to dwm
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