2011-03-01 18:49:02 +01:00
|
|
|
typedef struct {
|
|
|
|
KeySym ksym;
|
|
|
|
Bool reload;
|
2011-03-03 10:52:16 +01:00
|
|
|
const char *cmdline;
|
2011-03-01 18:49:02 +01:00
|
|
|
} command_t;
|
|
|
|
|
|
|
|
static command_t commands[] = {
|
2011-03-03 10:52:16 +01: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 18:49:02 +01:00
|
|
|
};
|