summaryrefslogtreecommitdiff
path: root/swaymsg/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaymsg/main.c')
-rw-r--r--swaymsg/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
new file mode 100644
index 00000000..824af0e6
--- /dev/null
+++ b/swaymsg/main.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+void sway_terminate(void) {
+ exit(1);
+}
+
+int main(int argc, const char **argv) {
+ printf("Hello world!");
+ return 0;
+}