Daniel Eklöf
c18b5a1bbe
main: catch SIGTERM
...
And when exiting, log which signal we were killed by.
2019-01-09 18:50:26 +01:00
Daniel Eklöf
fdadf577e9
main: detect when X server dies, and abort
...
This is done by creating an XCB connection, whose only purpose is to
detect a POLLHUP (xcb disconncet).
Furthermore, make sure SIGINT is blocked in all threads except the
main thread.
2019-01-07 18:27:43 +01:00
Daniel Eklöf
aa38063e37
wip: verify configuration
...
We now verify the configuration (currently down to module level, but
not including particles) that are present are of the expected type.
2019-01-06 20:04:01 +01:00
Daniel Eklöf
4d46a14a67
main: print a descriptive error message when yaml parsing fails
2019-01-01 23:26:10 +01:00
Daniel Eklöf
5abd825137
yml: yml_load(): optionally allocates an error string (on error)
2019-01-01 23:25:36 +01:00
Daniel Eklöf
449210cc07
main: use bar's return value as exit value
2018-12-29 17:57:30 +01:00
Daniel Eklöf
10877d7c2e
main: error handling
2018-12-29 17:56:26 +01:00
Daniel Eklöf
825c5c82b5
main: load config file from ~/.config/f00bar/config.yml
2018-12-29 17:54:33 +01:00
Daniel Eklöf
c2e53a6bf7
main: no need for EFD_NONBLOCK
2018-12-28 12:41:21 +01:00
Daniel Eklöf
db2535bd72
main: remove ifdef
2018-12-13 19:05:52 +01:00
Daniel Eklöf
7c468c20c0
xcb: add xcb_init(): checks the x server + extensions, and caches atoms
2018-11-17 11:47:34 +01:00
Daniel Eklöf
8bf8a398b9
initial commit: wip
2018-11-17 11:30:33 +01:00