aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/wm/arg.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-04 17:25:48 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-04 17:25:48 -0700
commit08a6da05412961ddf629415a92749b02d875fa62 (patch)
tree2e40b74b3b4e660a35b990e87a7d5b3ed6f33d9a /sys/cmd/wm/arg.c
parent36174e35185c34733a84055cd30dda5f7d947397 (diff)
feat(wm): layer shell
Diffstat (limited to 'sys/cmd/wm/arg.c')
-rw-r--r--sys/cmd/wm/arg.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/cmd/wm/arg.c b/sys/cmd/wm/arg.c
index bf58534..e69de29 100644
--- a/sys/cmd/wm/arg.c
+++ b/sys/cmd/wm/arg.c
@@ -1,21 +0,0 @@
-#include "wm.h"
-
-void
-spawn(Arg *arg)
-{
- if(!fork()) {
- dup2(2, 1);
- setsid();
- execvp(((char **)arg->v)[0], (char **)arg->v);
- }
-}
-
-void
-quit(Arg *arg)
-{
- wl_display_terminate(server.display);
-}
-
-#define CONFIG(a,b,...) a cfg·##b = __VA_ARGS__
-#include "config.h"
-#undef CONFIG