diff --git a/src/syncterm/syncterm.c b/src/syncterm/syncterm.c
index 36bfa46c1226474d5c176ad245aaf1b353943f8e..98d7dd0380a5734caa10879d54af43927b64baad 100644
--- a/src/syncterm/syncterm.c
+++ b/src/syncterm/syncterm.c
@@ -1254,7 +1254,7 @@ get_unix_filename(char *fn, int fnlen, int type, int shared)
 					return NULL;
 				break;
 			case SYNCTERM_PATH_LIST:
-				if (get_xdg_path(XDG_DATA_HOME, fn, fnlen) == NULL)
+				if (get_xdg_path(XDG_CONFIG_HOME, fn, fnlen) == NULL)
 					return NULL;
 				break;
 			case SYNCTERM_DEFAULT_TRANSFER_PATH: