2011-03-01 17:49:02 +00:00
|
|
|
typedef struct {
|
|
|
|
KeySym ksym;
|
|
|
|
Bool reload;
|
2011-03-03 09:52:16 +00:00
|
|
|
const char *cmdline;
|
2011-03-01 17:49:02 +00:00
|
|
|
} command_t;
|
|
|
|
|
|
|
|
static command_t commands[] = {
|
2011-03-03 09:52:16 +00:00
|
|
|
/* key reload? command, '#' is replaced by filename */
|
|
|
|
{ XK_a, True, "jpegtran -rotate 270 -copy all -outfile # #" },
|
|
|
|
{ XK_s, True, "jpegtran -rotate 90 -copy all -outfile # #" },
|
|
|
|
{ XK_A, True, "mogrify -rotate -90 #" },
|
|
|
|
{ XK_S, True, "mogrify -rotate +90 #" }
|
2011-03-01 17:49:02 +00:00
|
|
|
};
|