From 4c90d1d9e4092f9ee0106d316829144653a276ea Mon Sep 17 00:00:00 2001 From: Filip Wandzio Date: Tue, 30 Dec 2025 02:45:11 +0100 Subject: Split monolithic dwm.h into modular headers and group them by it's functionalities The new plan of refactoring this project is to split entire monolithic codebase into separate, (kind of) independent modules. This will help with understanding the code by turning off modules and deciding which ones require some work. Signed-off-by: Filip Wandzio --- src/core/globals.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/core/globals.h (limited to 'src/core/globals.h') diff --git a/src/core/globals.h b/src/core/globals.h new file mode 100644 index 0000000..4b800fe --- /dev/null +++ b/src/core/globals.h @@ -0,0 +1,21 @@ + +#pragma once + +#include "types.h" + +extern Display *dpy; +extern Window root, wmcheckwin; + +extern Monitor *mons, *selmon; + +extern int screen; +extern int sw, sh; +extern int bh; +extern int running; +extern unsigned int numlockmask; + +extern Atom wmatom[WMLast]; +extern Atom netatom[NetLast]; +extern Atom xatom[XLast]; + +extern Systray *systray; -- cgit v1.2.3