From ae5dbf8bdbd429186a780d70acd0981c8c3b6b11 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Mon, 14 Jun 2021 20:00:15 +0400 Subject: Changed default WM to dwm --- .xprofile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.xprofile') 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 -- cgit v1.2.3