mirror of
https://github.com/javalsai/lidm.git
synced 2025-09-01 02:47:59 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user