summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/cmd.c b/cmd.c
new file mode 100644
index 0000000..8244540
--- /dev/null
+++ b/cmd.c
@@ -0,0 +1,20 @@
+/*
+ * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
+ * See LICENSE file for license details.
+ */
+
+#include "wm.h"
+#include <stdio.h>
+
+void
+run(char *arg)
+{
+ spawn(dpy, arg);
+}
+
+void
+quit(char *arg)
+{
+ fputs("quit\n", stderr);
+ running = False;
+}