|
31 | 31 |
|
32 | 32 | /* ALIASED COMMANDS
|
33 | 33 | * Each space delimited argument should be passed as an additional
|
34 |
| - * value to the character pointer array. For example, to run |
| 34 | + * value to the character pointer array. For example, to run |
35 | 35 | * "foo -a bar", the array would be "{ "foo", "-a", "bar", NULL }".
|
36 | 36 | * Since execvp() is a variadic functions, each argument pointer must
|
37 | 37 | * be terminated by a NULL pointer.
|
38 | 38 | */
|
39 | 39 |
|
40 |
| -static char * termcmd[] = { "st", NULL }; |
41 |
| -static char * menucmd[] = { "dmenu_run", NULL }; |
42 |
| -static char * browcmd[] = { "surf", "https://startpage.com", NULL }; |
| 40 | +static char *termcmd[] = { "st", NULL }; |
| 41 | +static char *menucmd[] = { "dmenu_run", NULL }; |
| 42 | +static char *browcmd[] = { "surf", "https://startpage.com", NULL }; |
43 | 43 |
|
44 | 44 | /* KEY ALIASES
|
45 | 45 | * In general, one shortcut key should exist per alias. For more key
|
46 | 46 | * definitions, refer to the keysymdef.h and XF86keysym.h headers.
|
47 | 47 | */
|
48 | 48 |
|
49 | 49 | static Key keys[] = {
|
50 |
| - { MOD1, 0x0062, spawn, browcmd }, /* 0x0062 = XK_b */ |
51 |
| - { MOD1, 0xff0d, spawn, termcmd }, /* 0xff0d = XK_Enter */ |
52 |
| - { MOD1, 0x0020, spawn, menucmd }, /* 0x0020 = XK_space */ |
53 |
| - { MOD1, 0x0066, fullclient, NULL }, /* 0x0066 = XK_f */ |
54 |
| - { MOD1, 0x0071, killclient, NULL }, /* 0x0071 = XK_q */ |
55 |
| - { MOD1|MOD2, 0x0071, closewm, NULL } /* 0x0071 = XK_q */ |
| 50 | + { MOD1, 0x0062, spawn, browcmd }, /* 0x0062 = XK_b */ |
| 51 | + { MOD1, 0xff0d, spawn, termcmd }, /* 0xff0d = XK_Enter */ |
| 52 | + { MOD1, 0x0020, spawn, menucmd }, /* 0x0020 = XK_space */ |
| 53 | + { MOD1, 0x0066, fullclient, NULL }, /* 0x0066 = XK_f */ |
| 54 | + { MOD1, 0x0071, killclient, NULL }, /* 0x0071 = XK_q */ |
| 55 | + { MOD1|MOD2, 0x0071, closewm, NULL } /* 0x0071 = XK_q */ |
56 | 56 | };
|
0 commit comments