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-09 10:08:43 +01:00
|
|
|
/* ctrl-... reload? command, '#' is replaced by filename */
|
|
|
|
{ XK_comma, True, "jpegtran -rotate 270 -copy all -outfile # #" },
|
|
|
|
{ XK_period, True, "jpegtran -rotate 90 -copy all -outfile # #" },
|
|
|
|
{ XK_less, True, "mogrify -rotate -90 #" },
|
|
|
|
{ XK_greater, True, "mogrify -rotate +90 #" }
|
2011-03-01 18:49:02 +01:00
|
|
|
};
|