spiv: Add image actions.
commit144f51ced0bc1c933d15917578e99f6615afc6f9
authorCyril Hrubis <metan@ucw.cz>
Tue, 21 May 2013 20:33:39 +0000 (21 22:33 +0200)
committerCyril Hrubis <metan@ucw.cz>
Tue, 21 May 2013 21:01:55 +0000 (21 23:01 +0200)
treebdfbca2da6325681574ab7408fad33b67276f097
parentf7cb41744ef49b26625e2c6c9e7deb64a6ba0018
spiv: Add image actions.

Image actions are shell snippets with printf-like formating
characters (for image path, name, etc...) to be executed when
key is pressed in spiv (currently mapped on F1-F10).

BEWARE: it seems to work, but I haven't tested all corner cases.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
demos/spiv/Makefile
demos/spiv/image_actions.c [new file with mode: 0644]
demos/spiv/image_actions.h [new file with mode: 0644]
demos/spiv/spiv.c