Commit graph

468 commits

Author SHA1 Message Date
Daniel Eklöf
f253bbebd2 module/battery: we're scanning into a signed long 2018-12-18 20:22:48 +01:00
Daniel Eklöf
76995ddcd5 module/battery: use module common constructor and default destructor 2018-12-18 20:22:30 +01:00
Daniel Eklöf
72624af1fa clock: use module common constructor and destructor 2018-12-18 20:13:04 +01:00
Daniel Eklöf
3618b863ff module/i3: lower case initial letter in log message 2018-12-18 20:00:03 +01:00
Daniel Eklöf
6db41b7803 module/xkb: initialize layouts to zero
Fixes a crash when content() is called before we've initialized the
layouts.
2018-12-18 19:49:05 +01:00
Daniel Eklöf
1c708975eb module/xkb: use log framework 2018-12-18 19:37:30 +01:00
Daniel Eklöf
1fa5baf8b7 module/i3: use log framework 2018-12-18 19:37:22 +01:00
Daniel Eklöf
2fdd419600 module/battery: use log framework 2018-12-18 19:37:10 +01:00
Daniel Eklöf
ef594b877b module/xkb: monitor current xkb layout 2018-12-17 19:59:29 +01:00
Daniel Eklöf
e186c3447d module/battery: remove unused left/right spacing options 2018-12-16 19:17:14 +01:00
Daniel Eklöf
8f7fba72a5 module/battery: remove inferior error checks 2018-12-16 17:09:33 +01:00
Daniel Eklöf
a9681dd19c cleanup 2018-12-16 17:08:38 +01:00
Daniel Eklöf
fa3c17aa4a module/battery: use libudev to monitor for battery changes
This allows us to detect plug/unplug events immediately, instead of
having to wait for the next poll event.

Unfortunately, capacity changes do not appear to generate events :(
2018-12-16 17:04:44 +01:00
Daniel Eklöf
6a0385e294 module/battery: monitors battery state and capacity 2018-12-16 15:58:17 +01:00
Daniel Eklöf
92a1a35c90 module/i3: new module; tracks i3 workspaces 2018-12-13 19:05:52 +01:00
Daniel Eklöf
081bccf06d modules: put all modules in separate sub directories 2018-11-17 23:15:32 +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