1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-13 21:35:45 +01:00

wmmenugen: Add executable detection, make Wmconfig use it

Add fileInPath, which determines whether or not a given file exists
in $PATH (some heuristics apply).

Make the Wconfig parser use it.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
Tamas TEVESZ
2010-10-09 01:52:14 +02:00
committed by Carlos R. Mafra
parent 0451160f7d
commit 5377ec8fba
3 changed files with 50 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ char *env_lang, *env_ctry, *env_enc, *env_mod;
*/
void parse_locale(const char *what, char **env_lang, char **env_ctry, char **env_enc, char **env_mod);
char *find_terminal_emulator(void);
Bool fileInPath(const char *file);
/* implemented parsers
*/