From 1237baa6c3c1fa425988d3c3a718e1970e4938b3 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Sun, 7 Jun 2020 07:13:11 -0500
Subject: [PATCH] Fix instance of wrong configdir var in WM init code

---
 firestarter | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/firestarter b/firestarter
index 02fceb9..42e3151 100755
--- a/firestarter
+++ b/firestarter
@@ -459,7 +459,7 @@ step_execute() {
 }
 step_postexecute() {
 	# Wait for the WM to initialize, if one was found and we have the tools
-	if [ -z "$FS_NOWAITWM" ] && gettarget "$_configdir/wm" && has xprop grep; then
+	if [ -z "$FS_NOWAITWM" ] && gettarget "$_optconfigdir/wm" && has xprop grep; then
 		log "Waiting for WM to initialize: \"$_return\""
 		for (( i=0; i<10; i++ )); do
 			line="$(xprop -root | grep ^_NET_WM_NAME | grep -o '"\S*"$')"