commit a89b7275232a4a1a51ac59c4911f61c99c706c2f
parent d0e3417c07e64e57be94c7c99642c9e32203551f
Author: Kris Maglione <jg@suckless.org>
Date: Wed, 21 Mar 2007 22:13:57 -0400
Check $WMII_NS_DIR on init, rather than $WMII_NS_PATH
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -298,7 +298,7 @@ main(int argc, char *argv[]) {
if(i < 0)
fatal("wmiiwm: Bad address\n");
strncpy(ns_path, tmp, min(sizeof(ns_path), i));
- }else if((tmp = getenv("WMII_NS_PATH")) && strlen(tmp) > 0)
+ }else if((tmp = getenv("WMII_NS_DIR")) && strlen(tmp) > 0)
strncpy(ns_path, tmp, sizeof(ns_path));
else
snprintf(ns_path, sizeof(ns_path), "/tmp/ns.%s.%s", user, getenv("DISPLAY"));