Use ctrl for ext cmds, disable them in config.h

This commit is contained in:
Bert
2011-03-09 10:08:43 +01:00
parent 00d4b0f7cf
commit a82c45431b
4 changed files with 34 additions and 20 deletions

View File

@ -5,9 +5,9 @@ typedef struct {
} command_t;
static command_t commands[] = {
/* 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 #" }
/* 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 #" }
};