summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
new file mode 100644
index 0000000..66ecf76
--- /dev/null
+++ b/src/util.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <vector>
+#include <string>
+#include <X11/Xlib.h>
+
+
+std::string getEventName(int e);
+
+
+std::vector<std::string> split (const std::string &s, char delim);
+
+std::string lowercase(std::string s);
+
+
+struct Globals {
+ Display*& dpy;
+ Window& root;
+};