From 8015d49b03be83447ba94e42478bc821732fb4ef Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Sun, 7 Jun 2020 11:09:25 -0500 Subject: [PATCH] Run $XDG_CONFIG_HOME/sxmo/xinit if it exists on starting X --- scripts/core/sxmo_xinit.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/core/sxmo_xinit.sh b/scripts/core/sxmo_xinit.sh index 6e72a83..9d97215 100755 --- a/scripts/core/sxmo_xinit.sh +++ b/scripts/core/sxmo_xinit.sh @@ -24,6 +24,9 @@ autocutsel & autocutsel -selection PRIMARY & sxmo_statusbar.sh & +# Run user's custom xinit +[ -f "$XDG_CONFIG_HOME/sxmo/xinit" ] && "$XDG_CONFIG_HOME/sxmo/xinit" + # Startup dbus, dunst in dbus path, lisgd in dbus path, and finally dwm exec dbus-run-session sh -c " dunst -conf /usr/share/sxmo/dunst.conf &