From 915532bf8fbda9ba2a36e04fcd6acc67c6c68fa5 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Tue, 1 Oct 2024 14:54:37 +1300 Subject: Restructure --- src/util.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/util.h (limited to 'src/util.h') 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 +#include +#include + + +std::string getEventName(int e); + + +std::vector split (const std::string &s, char delim); + +std::string lowercase(std::string s); + + +struct Globals { + Display*& dpy; + Window& root; +}; -- cgit v1.2.3