Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar
Find a file
Daniel Eklöf 620017860e particle: handle ON_MOUSE_CLICK
If a particle has an on-click handler, execute it when we receive an
ON_MOUSE_CLICK event.

This is done by first tokenizing the command string. We currently
handle one level of quotes, but no escape characters.

Then, fork(). Main process waits for child to finish. Child daemonizes
and then execvp() the tokenized argument vector.
2018-12-29 16:24:22 +01:00
decorations decoration: stack: stacks multiple decorations on top of each other 2018-12-26 15:59:48 +01:00
modules module/mpd: cleanup 2018-12-28 15:26:22 +01:00
particles particle/list: on_click handler 2018-12-29 16:15:37 +01:00
.gitignore initial commit: wip 2018-11-17 11:30:33 +01:00
bar.c bar: generate exposable ON_MOUSE_CLICK events on button release events 2018-12-29 16:23:27 +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 particle/progress-bar: renders a progrss-bar-like thingy 2018-12-27 14:22:05 +01:00
color.h initial commit: wip 2018-11-17 11:30:33 +01:00
config.c particle/list: on_click handler 2018-12-29 16:15:37 +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 initial commit: wip 2018-11-17 11:30:33 +01:00
font.h initial commit: wip 2018-11-17 11:30:33 +01:00
log.c log: add LOG_ERRNO() 2018-12-19 21:01:01 +01:00
log.h log: add LOG_ERRNO() 2018-12-19 21:01:01 +01:00
main.c main: no need for EFD_NONBLOCK 2018-12-28 12:41:21 +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: handle ON_MOUSE_CLICK 2018-12-29 16:24:22 +01:00
particle.h particle: add an 'on_click_template' to base constructor. 2018-12-29 14:36:18 +01:00
tag.c tag: add realtime unit MSECS (milliseconds) 2018-12-28 14:05:02 +01:00
tag.h tag: add realtime unit MSECS (milliseconds) 2018-12-28 14:05:02 +01:00
tllist.h tllist: cast away const in tll_{r,}foreach() 2018-12-15 11:46:34 +01:00
xcb.c xcb: use new log framework 2018-12-17 20:25:27 +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: support multiple merge values 2018-12-29 16:06:04 +01:00
yml.h initial commit: wip 2018-11-17 11:30:33 +01:00