Krolyxon
Commit 83bdf67

Branches

Refs →

nsxivcommands.h

13 lines · 436 B · Objective-C

1typedef struct {
2 KeySym ksym;
3 Bool reload;
4 const char *cmdline;
5} command_t;
6
7static command_t commands[] = {
8 /* ctrl-... reload? command, '#' is replaced by filename */
9 { XK_comma, True, "jpegtran -rotate 270 -copy all -outfile # #" },
10 { XK_period, True, "jpegtran -rotate 90 -copy all -outfile # #" },
11 { XK_less, True, "mogrify -rotate -90 #" },
12 { XK_greater, True, "mogrify -rotate +90 #" }
13};