summaryrefslogtreecommitdiffstats
path: root/swaybar/main.c
blob: 49ba7a7851c32ca41046ea6bb3ae6b6162d7e3ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
}