Put each module in its own subdirectory

This commit is contained in:
Daniel Eklöf 2019-01-12 11:18:46 +01:00
parent 75bdd2ad3c
commit 8809cbb481
24 changed files with 73 additions and 71 deletions

14
modules/i3/i3.h Normal file
View file

@ -0,0 +1,14 @@
#pragma once
#include "../../module.h"
#include "../../particle.h"
/* Maps workspace name to a content particle. */
struct i3_workspaces {
const char *name;
struct particle *content;
};
struct module *module_i3(
struct i3_workspaces workspaces[], size_t workspace_count,
int left_spacing, int right_spacing);