Skip to content
Snippets Groups Projects
Commit a452250b authored by iczero's avatar iczero Committed by George Kiagiadakis
Browse files

scripts: also look in $XDG_CONFIG_HOME/scripts

parent e3a16127
Loading
......@@ -132,6 +132,7 @@ find_script (const gchar * script, gboolean daemon)
return g_strdup (script);
return wp_find_file (WP_LOOKUP_DIR_ENV_DATA |
WP_LOOKUP_DIR_XDG_CONFIG_HOME |
WP_LOOKUP_DIR_ETC |
WP_LOOKUP_DIR_PREFIX_SHARE,
script, "scripts");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment