Daniel Eklöf
8dc278aaf2
config: pass a struct with inheritable values
...
For now, font and foreground color
2019-01-13 14:13:14 +01:00
Daniel Eklöf
9944a8f972
modules: don't assume module content is a dictionary
...
This is done by having each module implement a top-level verifier
function.
2019-01-13 11:54:57 +01:00
Daniel Eklöf
71515e4079
config: conf_verify_dict() now assumes attr list is NULL-terminated
2019-01-13 11:37:05 +01:00
Daniel Eklöf
ec4a47e5db
modules: rename module_info -> plugin_info
...
This is the same name used by particles.
2019-01-13 11:18:32 +01:00
Daniel Eklöf
42104db1ca
modules: move files back to a common directory (again)
2019-01-12 21:24:20 +01:00
Daniel Eklöf
8809cbb481
Put each module in its own subdirectory
2019-01-12 11:19:57 +01:00
Daniel Eklöf
7b2dfd1399
module/i3: implement 'urgent' event handling
2019-01-11 20:05:38 +01:00
Daniel Eklöf
b9b90d8b9e
module/i3: 'reload' events don't have a 'current' element
2019-01-11 20:01:36 +01:00
Daniel Eklöf
128716c8aa
module/i3: if there's no specific workspace template, try a default one
...
If the user hasn't specified a specific template for a workspace, try
to lookup a default one (the empty string).
This allows the user to configure a "fallback" template to be used for
"extra", or not-often-used workspaces.
2019-01-09 18:50:26 +01:00
Daniel Eklöf
af13df3045
module/i3: trigger a bar refresh after a workspace event
2019-01-07 18:31:55 +01:00
Daniel Eklöf
072a508291
module/i3: add more debug logging
2019-01-07 18:31:47 +01:00
Daniel Eklöf
552739fa20
module/i3: fix gcc warning
...
Gcc (correctly) figured out that we may end up truncating the socket
path. In practice, it's something that should never happen.
Never the less, silence the warning by writing the socket path
directly into the sockaddr_un object.
2019-01-07 18:30:30 +01:00
Daniel Eklöf
45e5f11fea
modules: remove "connected to " prefix from info logs
2019-01-02 18:14:49 +01:00
Daniel Eklöf
b7e7ad522f
remove module subfolders
2018-12-29 22:18:08 +01:00