2024-02-21 19:42:13 +00:00
|
|
|
#define AUTOSTARTX "\n#auto-startx \nif [[ \"$(tty)\" == \"/dev/tty1\" ]] && [ -z \"$DISPLAY\" ]; then\nexec startx\nfi\n"
|
2024-02-20 18:12:54 +00:00
|
|
|
|
|
|
|
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*);
|