Simplify and merge {config,theme}-dir.c

This commit is contained in:
Johan Malm 2020-08-10 17:24:17 +01:00
parent fc6fca6945
commit f003abf608
20 changed files with 181 additions and 163 deletions

12
include/common/dir.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef __LABWC_DIR_H
#define __LABWC_DIR_H
char *config_dir(void);
/**
* theme_dir - find theme directory containing theme @theme_name
* @theme_name: theme to search for
*/
char *theme_dir(const char *theme_name);
#endif /* __LABWC_DIR_H */