lidm/include/sessions.h
javalsai a0b68491ba
chore: implement vectors
also seems to address several of these:
https://github.com/javalsai/lidm/issues/3#issuecomment-2423933131

not sure about the issue itself, might be permission stuff
2024-10-19 17:50:50 +02:00

24 lines
276 B
C

#ifndef _SESSIONSH_
#define _SESSIONSH_
#include <sys/types.h>
#include <util.h>
enum session_type {
XORG,
WAYLAND,
SHELL,
};
struct session {
char *name;
char *exec;
char *tryexec;
enum session_type type;
};
struct Vector get_avaliable_sessions();
#endif