mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 09:35:38 +02:00
module/i3: new module; tracks i3 workspaces
This commit is contained in:
parent
92c9593ff5
commit
92a1a35c90
6 changed files with 630 additions and 3 deletions
14
modules/i3/i3.h
Normal file
14
modules/i3/i3.h
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue