forked from external/yambar
module/i3: export module info through the new module_info struct type
This commit is contained in:
parent
d2af5b2c84
commit
f3721d9d80
4 changed files with 87 additions and 83 deletions
|
@ -1,14 +1,4 @@
|
|||
#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);
|
||||
extern const struct module_info module_i3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue