Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar
Find a file
Daniel Eklöf f6977417e0 font: use font-config to load font
This allows us to a) move away from cairo's "toy" API, and b) let the
user specify font options in a single font "name" string:

  Serif:size=10:weight=bold:slant=italic

This also allows us to simplify the font code significantly (except
for the fontconfig parts...); the font no longer sets itself in a
cairo surface - font users do that; the font simply returns a
cairo_scaled_font_t.

Furthermore, font_clone() has now been simplified to basically just
refcount the scaled font. I.e. there's no need to run the full
constructor and lookup and instantiate the cairo scaled font again.
2019-01-09 18:50:16 +01:00
decorations decoration: stack: stacks multiple decorations on top of each other 2018-12-26 15:59:48 +01:00
modules module/removables: handle optical media (CDROMs) 2019-01-07 18:32:09 +01:00
particles font: use font-config to load font 2019-01-09 18:50:16 +01:00
.gitignore initial commit: wip 2018-11-17 11:30:33 +01:00
bar.c bar: detect XCB disconnect (and abort) 2019-01-07 18:27:28 +01:00
bar.h bar: set_cursor(): new interface function, to set the X cursor 2018-12-26 17:16:54 +01:00
CMakeLists.txt font: use font-config to load font 2019-01-09 18:50:16 +01:00
color.h initial commit: wip 2018-11-17 11:30:33 +01:00
config-verify.c font: use font-config to load font 2019-01-09 18:50:16 +01:00
config-verify.h wip: verify configuration 2019-01-06 20:04:01 +01:00
config.c font: use font-config to load font 2019-01-09 18:50:16 +01:00
config.h initial commit: wip 2018-11-17 11:30:33 +01:00
decoration.h decoration: configurable graphical effects, added to a particle 2018-12-26 15:30:47 +01:00
font.c font: use font-config to load font 2019-01-09 18:50:16 +01:00
font.h font: use font-config to load font 2019-01-09 18:50:16 +01:00
LICENSE license: MIT 2019-01-02 11:24:28 +01:00
log.c log: ensure variables are always initialized. Fixes gcc warning 2019-01-01 20:30:15 +01:00
log.h log: LOG_ERRNO_P(), like LOG_ERRNO(), except user provides errno value 2018-12-31 13:18:22 +01:00
main.c main: detect when X server dies, and abort 2019-01-07 18:27:43 +01:00
module.c module: add a refresh_in() interface function 2018-12-28 12:42:08 +01:00
module.h module: re-order function pointer declarations 2018-12-29 12:49:25 +01:00
particle.c particle: add utility function to render a particle's decoration 2018-12-29 21:00:03 +01:00
particle.h particle: add utility function to render a particle's decoration 2018-12-29 21:00:03 +01:00
tag.c tag: rename and rewrite sbuf_strcat() 2019-01-07 18:26:48 +01:00
tag.h tags: break out string formatting from particle/string 2018-12-29 17:03:41 +01:00
tllist.h tllist: cast away const in tll_{r,}foreach() 2018-12-15 11:46:34 +01:00
xcb.c xcb: log version info as debug, rather than info 2019-01-09 18:29:51 +01:00
xcb.h xcb: add xcb_init(): checks the x server + extensions, and caches atoms 2018-11-17 11:47:34 +01:00
yml.c yml: initialize return value, fixes gcc warning (-O3 -Wall) 2019-01-07 18:26:29 +01:00
yml.h wip: verify configuration 2019-01-06 20:04:01 +01:00