Add swaylock subproject

This commit is contained in:
Drew DeVault 2015-12-10 07:52:24 -05:00
parent d800d52d37
commit f80481a37d
3 changed files with 43 additions and 0 deletions

13
swaylock/main.c Normal file
View file

@ -0,0 +1,13 @@
#include <stdio.h>
#include <stdlib.h>
#include "log.h"
void sway_terminate(void) {
exit(EXIT_FAILURE);
}
int main(int argc, char **argv) {
init_log(L_INFO);
sway_log(L_INFO, "Hello world");
return 0;
}