aboutsummaryrefslogtreecommitdiff
path: root/commands.h
blob: ce00858239f019af2900b8d95fb33712db44a216 (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[] = {
	/* 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 #" }
};