+static void
+mnemon_show_image (mnemon_t *mnemon, const char *filename)
+{
+ char *command;
+
+ /* XXX: Yes, shelling out to system is total cheese. The planned
+ * fix here is to bring graphical display in process, (or at least
+ * have a custom external program that accepts image filenames on
+ * stdin.
+ */
+ xasprintf (&command, "xli -gamma 2.2 %s >/dev/null 2>&1 &",
+ filename);
+ system (command);
+ free (command);
+}
+
+static void
+mnemon_hide_image (mnemon_t *mnemon)
+{
+ char * command;
+
+ /* XXX: And this is just embarrassing (obviously wrong in several
+ * ways). Hopefully I'll amend away any commit that includes this.
+ */
+ xasprintf (&command, "killall xli");
+ system (command);
+ free (command);
+}
+