14 lines
298 B
C
14 lines
298 B
C
|
#define AUTOSTARTX "\n#auto-startx \nif [ -z '$DISPLAY' ] && [ '$XDG_VTNR' = 1 ]; then\nexec startx\nfi\n"
|
||
|
|
||
|
struct Desktop {
|
||
|
char* name;
|
||
|
char* desc;
|
||
|
char* pkg;
|
||
|
char* cmd;
|
||
|
};
|
||
|
|
||
|
bool exists(char*);
|
||
|
char* check_path(char*);
|
||
|
bool joinhome(char*, char*);
|
||
|
bool endswith(const char*, const char*);
|