diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-29 10:26:50 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-29 10:26:50 -0500 |
commit | 63cf8e48c4cffb9a6ef661ae73699bbc7bad8e37 (patch) | |
tree | c1cafe8e90f2304172b84ce3b31b5ff6e435bbc8 /swaybar/main.c | |
parent | fd4cf52518d265c681951bc4c193a2956afefc40 (diff) |
Add swaybar subproject
Diffstat (limited to 'swaybar/main.c')
-rw-r--r-- | swaybar/main.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/swaybar/main.c b/swaybar/main.c new file mode 100644 index 00000000..49ba7a78 --- /dev/null +++ b/swaybar/main.c @@ -0,0 +1,20 @@ +#include <stdio.h> +#include <stdlib.h> +#include "client/registry.h" +#include "client/window.h" +#include "log.h" + +struct registry *registry; +struct window *window; + +void sway_terminate(void) { + window_teardown(window); + registry_teardown(registry); + exit(EXIT_FAILURE); +} + +int main(int argc, char **argv) { + init_log(L_INFO); + sway_log(L_INFO, "Hello world!"); + return 0; +} |