summaryrefslogtreecommitdiff
path: root/src/sxwm.h
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-04-14 22:18:55 +0100
committeruint23 <[email protected]>2025-04-14 22:18:55 +0100
commit7883981fe9976b3933959c04fa8cc62158c70855 (patch)
tree0dbec9721c71c3f1e638a0bffc40cd18622077a1 /src/sxwm.h
parent54c9dd27d5674990ddc8d444f14336d549d52725 (diff)
inital window manager setup. check for other window managers too
Diffstat (limited to 'src/sxwm.h')
-rw-r--r--src/sxwm.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/sxwm.h b/src/sxwm.h
new file mode 100644
index 0000000..cb6286c
--- /dev/null
+++ b/src/sxwm.h
@@ -0,0 +1,21 @@
+#ifndef SXWM_H
+#define SXWM_H
+
+#include <string.h>
+#include <err.h>
+#include <X11/Xlib.h>
+
+#define SXWM_VERSION "sxwm ver. 0.1.0"
+#define SXWM_AUTHOR "(C) Abhinav Prasai 2025"
+#define SXWM_LICINFO "See LICENSE for more info"
+
+#define ALT Mod1Mask
+#define SUPER Mod4Mask
+#define SHIFT ShiftMask
+
+static void run(void);
+static void setup(void);
+
+static Display *dpy;
+static Window root;
+#endif