Commit graph

  • 4c577766d1 module: remove module->expose() and module->end_expose() Daniel Eklöf 2019-01-13 14:55:21 +01:00
  • 33cba8b0ba module: remove module_expose_context Daniel Eklöf 2019-01-13 14:52:28 +01:00
  • 9276724113 module: remove 'with' from expose-context Daniel Eklöf 2019-01-13 14:33:58 +01:00
  • a425378576 config: allow font/foreground attributes on modules too Daniel Eklöf 2019-01-13 14:24:44 +01:00
  • 8dc278aaf2 config: pass a struct with inheritable values Daniel Eklöf 2019-01-13 14:13:14 +01:00
  • 7776135454 particles: caller of from_conf() must provide base particle instance Daniel Eklöf 2019-01-13 13:25:14 +01:00
  • 770f2a0e7c font: allow font_destroy() to be called with a NULL pointer Daniel Eklöf 2019-01-13 13:24:56 +01:00
  • 8bc6a0b783 oarticles: don't assume particle content is a dictionary Daniel Eklöf 2019-01-13 12:47:20 +01:00
  • 9944a8f972 modules: don't assume module content is a dictionary Daniel Eklöf 2019-01-13 11:54:03 +01:00
  • e471c2357d cmake: set _GNU_SOURCE globally, and only once Daniel Eklöf 2019-01-13 11:40:09 +01:00
  • 71515e4079 config: conf_verify_dict() now assumes attr list is NULL-terminated Daniel Eklöf 2019-01-13 11:37:05 +01:00
  • 2df419efc2 plugin: remove TODO Daniel Eklöf 2019-01-13 11:29:10 +01:00
  • f066ba055e Merge branch 'particles-as-plugins' Daniel Eklöf 2019-01-13 11:28:06 +01:00
  • 45280416ff modules, particles: type-specific filename prefix Daniel Eklöf 2019-01-13 11:26:31 +01:00
  • ec4a47e5db modules: rename module_info -> plugin_info Daniel Eklöf 2019-01-13 11:18:32 +01:00
  • 307a1f5ec8 particles: all particles can have a decoration Daniel Eklöf 2019-01-13 11:16:52 +01:00
  • 311193751c particles: install target Daniel Eklöf 2019-01-13 11:14:57 +01:00
  • 47018104da particles: compile as shared libraries (plugins) Daniel Eklöf 2019-01-13 11:13:47 +01:00
  • 7b98ea2b7c particle/string: expose info through the new struct particle_info struct Daniel Eklöf 2019-01-13 10:49:10 +01:00
  • 9f8000b047 particle/ramp: expose info through the new struct particle_info struct Daniel Eklöf 2019-01-13 10:40:47 +01:00
  • 21e28315e3 particle/progress-bar: expose info through the new struct particle_info struct Daniel Eklöf 2019-01-13 10:38:25 +01:00
  • 73b8bf1346 particle/map: expose info through the new struct particle_info struct Daniel Eklöf 2019-01-13 10:34:15 +01:00
  • 6379b1939f particle/list: expose info through the new struct particle_info struct Daniel Eklöf 2019-01-12 22:56:00 +01:00
  • 0f8f21510a particle/empty: expose info through the new struct particle_info struct Daniel Eklöf 2019-01-12 22:48:23 +01:00
  • c2db518a4f particle: fix from_conf() function pointer prototype Daniel Eklöf 2019-01-12 22:47:46 +01:00
  • 72edcf608c plugin: include plugin type in log messages Daniel Eklöf 2019-01-12 22:47:36 +01:00
  • 0fa7906e99 plugin: add plugin_load_particle() function Daniel Eklöf 2019-01-12 22:36:45 +01:00
  • f34a341c33 particle: add struct particle_info definition Daniel Eklöf 2019-01-12 22:36:26 +01:00
  • 297ff512b3 Merge branch 'modules-as-plugins' Daniel Eklöf 2019-01-12 22:24:10 +01:00
  • dea5055e37 cmake: cleanup Daniel Eklöf 2019-01-12 22:23:49 +01:00
  • 42104db1ca modules: move files back to a common directory (again) Daniel Eklöf 2019-01-12 21:24:20 +01:00
  • e7e7284cba modules: remove header files Daniel Eklöf 2019-01-12 21:20:52 +01:00
  • 9fa37f0d98 plugin: 'libs' -> 'plugins' Daniel Eklöf 2019-01-12 21:17:12 +01:00
  • aa4fede306 plugin: use tll_free_and_free() to free the global plugin list Daniel Eklöf 2019-01-12 21:16:13 +01:00
  • aa6ea602ca plugin: remove linked-list items as we Daniel Eklöf 2019-01-12 21:13:50 +01:00
  • f7fd305821 build: install targets for f00bar binary + module plugins Daniel Eklöf 2019-01-12 21:07:48 +01:00
  • 7f2501334d modules: use the same name for the module_info in all modules Daniel Eklöf 2019-01-12 20:34:43 +01:00
  • 45eb2b85f0 plugin: cache module_info symbol as well Daniel Eklöf 2019-01-12 19:44:24 +01:00
  • 962252467f plugins: only dlopen() each plugin once. dlcose() in destructor Daniel Eklöf 2019-01-12 19:38:06 +01:00
  • 64b77a0efc config: dlopen() modules on-demand Daniel Eklöf 2019-01-12 19:03:49 +01:00
  • 731ab848e1 config: fix: attributes always use dash, not underscore Daniel Eklöf 2019-01-12 13:56:02 +01:00
  • 650e152091 config: verify: no old-style modules left Daniel Eklöf 2019-01-12 13:04:42 +01:00
  • 6f9e48698e module/xwindow: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 13:03:41 +01:00
  • 905f289659 module/xkb: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 13:01:24 +01:00
  • 87640339e1 module/removables: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 12:59:21 +01:00
  • 697e613b2e module/network: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 12:56:54 +01:00
  • a16e2f5a53 module/mpd: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 12:52:16 +01:00
  • fb9f07dcad module/label: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 12:48:42 +01:00
  • f3721d9d80 module/i3: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 12:12:14 +01:00
  • d2af5b2c84 config: verify: break out err_prefix(), and rename Daniel Eklöf 2019-01-12 12:11:59 +01:00
  • 550d4ad534 module/clock: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 12:05:39 +01:00
  • e24923e7cc module/battery: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 12:02:41 +01:00
  • 3d36735f88 module/backlight: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 11:58:37 +01:00
  • e536391df6 module/alsa: export module info through the new module_info struct type Daniel Eklöf 2019-01-12 11:53:55 +01:00
  • eaf061ee57 module: define a struct for module meta data Daniel Eklöf 2019-01-12 11:52:46 +01:00
  • 4dd1a24af6 config: sort includes, add comment Daniel Eklöf 2019-01-12 11:47:30 +01:00
  • 3c870f759a config: verify: config_verify_bar() -> conf_verify_bar() Daniel Eklöf 2019-01-12 11:47:01 +01:00
  • d44db1a6a8 config: verify: expose verification primitives Daniel Eklöf 2019-01-12 11:46:26 +01:00
  • 6cb2f52328 config: conf_particle_from() -> conf_to_particle() Daniel Eklöf 2019-01-12 11:28:20 +01:00
  • 8809cbb481 Put each module in its own subdirectory Daniel Eklöf 2019-01-12 11:18:46 +01:00
  • 75bdd2ad3c config: use dashes, '-', instead of underscores, '_' in attribute names Daniel Eklöf 2019-01-12 10:32:52 +01:00
  • b0705578b0 config: remove asserts Daniel Eklöf 2019-01-12 10:27:02 +01:00
  • d03565a545 config: verify: fix a number of incorrect nodes passed to err_prefix() Daniel Eklöf 2019-01-11 23:20:51 +01:00
  • a1e0ce2f87 config: verify: err_prefix(): include line/column info in message Daniel Eklöf 2019-01-11 23:20:23 +01:00
  • d922bc572f yml: add line/column info to every node Daniel Eklöf 2019-01-11 23:20:06 +01:00
  • 3f578d30eb config: bar: no need to check for NULL on required attributes Daniel Eklöf 2019-01-11 22:50:16 +01:00
  • 61a2f84651 config: verify: particles and decorations Daniel Eklöf 2019-01-11 22:44:40 +01:00
  • a0cb4aef38 config: verify: make dictionary verifiers data driven Daniel Eklöf 2019-01-11 21:17:11 +01:00
  • 3d22b30c87 module/network: make module verification data driven Daniel Eklöf 2019-01-11 21:01:03 +01:00
  • e54e19e2c4 module/mpd: expose repeat/random/consume state Daniel Eklöf 2019-01-11 20:10:36 +01:00
  • 7b2dfd1399 module/i3: implement 'urgent' event handling Daniel Eklöf 2019-01-11 20:05:38 +01:00
  • b9b90d8b9e module/i3: 'reload' events don't have a 'current' element Daniel Eklöf 2019-01-11 20:01:36 +01:00
  • 706313b1e5 config: backlight: content doesn't have to be a dictionary Daniel Eklöf 2019-01-09 21:17:41 +01:00
  • 67767e6f54 module/backlight: expose brightness as percent too Daniel Eklöf 2019-01-09 21:17:27 +01:00
  • c18b5a1bbe main: catch SIGTERM Daniel Eklöf 2019-01-09 18:49:19 +01:00
  • 8dfe4af76b bar: call cairo_device_finish() on the surface's device Daniel Eklöf 2019-01-09 18:46:24 +01:00
  • b2c9c386d9 bar: make sure modules (and particles and fonts!) are destroyed before cleanup Daniel Eklöf 2019-01-09 18:45:31 +01:00
  • 092e83680b bar: flush cairo surface before copying pixmap to bar window Daniel Eklöf 2019-01-09 18:43:10 +01:00
  • 73c93bad5a config: implicit lists now have the same default right-spacing as explicit ones Daniel Eklöf 2019-01-09 18:42:22 +01:00
  • 2562d94f24 config: remove extra ';' Daniel Eklöf 2019-01-09 18:42:11 +01:00
  • 7fc9749c28 module/clock: user can now specify the date/time format strings Daniel Eklöf 2019-01-09 18:41:16 +01:00
  • 9037aadd04 module/xwindow: some windows have a zero-length PID property Daniel Eklöf 2019-01-09 18:40:14 +01:00
  • 128716c8aa module/i3: if there's no specific workspace template, try a default one Daniel Eklöf 2019-01-09 18:38:43 +01:00
  • 54798567c0 module/alsa: track all channels Daniel Eklöf 2019-01-09 18:36:26 +01:00
  • 558f75a54b module/particle: remove cairo context from begin_expose() Daniel Eklöf 2019-01-09 18:35:50 +01:00
  • f6977417e0 font: use font-config to load font Daniel Eklöf 2019-01-09 18:30:35 +01:00
  • b52bdf14b2 xcb: log version info as debug, rather than info Daniel Eklöf 2019-01-09 18:29:51 +01:00
  • 2b2c5bbf4d config: not true Daniel Eklöf 2019-01-07 18:32:27 +01:00
  • 91826ff176 module/removables: handle optical media (CDROMs) Daniel Eklöf 2019-01-07 18:32:09 +01:00
  • af13df3045 module/i3: trigger a bar refresh after a workspace event Daniel Eklöf 2019-01-07 18:31:55 +01:00
  • 072a508291 module/i3: add more debug logging Daniel Eklöf 2019-01-07 18:31:47 +01:00
  • 552739fa20 module/i3: fix gcc warning Daniel Eklöf 2019-01-07 18:30:30 +01:00
  • efe3dd06ab alsa: initialize values, fixes valgrind warning Daniel Eklöf 2019-01-07 18:29:03 +01:00
  • fdadf577e9 main: detect when X server dies, and abort Daniel Eklöf 2019-01-07 18:27:43 +01:00
  • 3f226d8cce bar: detect XCB disconnect (and abort) Daniel Eklöf 2019-01-07 18:27:28 +01:00
  • 400a92fa04 tag: rename and rewrite sbuf_strcat() Daniel Eklöf 2019-01-07 18:26:48 +01:00
  • f0cc0b4383 yml: initialize return value, fixes gcc warning (-O3 -Wall) Daniel Eklöf 2019-01-07 18:26:29 +01:00
  • bf5ad4d6b7 module/network: both thrd_current() and getpid() are 32-bit Daniel Eklöf 2019-01-06 20:41:34 +01:00
  • aa38063e37 wip: verify configuration Daniel Eklöf 2019-01-06 20:04:01 +01:00
  • 45e5f11fea modules: remove "connected to " prefix from info logs Daniel Eklöf 2019-01-02 18:14:49 +01:00