mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Simplify and merge {config,theme}-dir.c
This commit is contained in:
parent
fc6fca6945
commit
f003abf608
20 changed files with 181 additions and 163 deletions
12
tools/dirs/dir-list.c
Normal file
12
tools/dirs/dir-list.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "common/dir.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
setenv("LABWC_DEBUG_DIR_CONFIG_AND_THEME", "1", 1);
|
||||
setenv("XDG_CONFIG_HOME", "/a:/bbb:/ccccc:/etc/foo", 1);
|
||||
printf("%s\n", config_dir());
|
||||
printf("%s\n", theme_dir("Numix"));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue