aboutsummaryrefslogtreecommitdiffstats
path: root/commands.h
blob: cb14fe675ac58e670f9cf4b3dd2343dd0f170268 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
typedef struct {
	KeySym ksym;
	Bool reload;
	const char *cmdline;
} 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 #" }
};