all: at this point just read readme 😭

spaghetti code
equivalent spaghetti readme
spaghetti commit (wait no, this is actually descriptive)
This commit is contained in:
2024-07-13 01:30:47 +02:00
parent 08debefeb7
commit 6b2d76c9b8
16 changed files with 954 additions and 39 deletions

View File

@@ -1,9 +1,18 @@
#ifndef _SESSIONSH_
#define _SESSIONSH_
#include <sys/types.h>
enum session_type {
XORG,
WAYLAND,
SHELL,
};
struct session {
const char *type;
char *name;
char *path;
enum session_type type;
};
struct sessions_list {
@@ -12,3 +21,5 @@ struct sessions_list {
};
struct sessions_list *get_avaliable_sessions();
#endif