config.h, menu.c: remove unused config option, add virtual desktop names to config.h
This commit is contained in:
parent
e7a71e88ac
commit
608ea90f1e
2 changed files with 22 additions and 17 deletions
24
config.h
24
config.h
|
@ -38,9 +38,6 @@
|
|||
#define VIRTHEADER "virtual"
|
||||
#define VIRTMSG "[%s]"
|
||||
|
||||
/* Deny focus to autostuck windows? (eg xosview, clock) */
|
||||
#define NOFOCUS
|
||||
|
||||
/* Modifier key and associated modifier bits;
|
||||
* Shift = (1<<0)
|
||||
* Lock = (1<<1)
|
||||
|
@ -113,4 +110,25 @@
|
|||
0 \
|
||||
}
|
||||
|
||||
/* Names for the virtual desktops. You can define all 12, or only
|
||||
* as many as you use.
|
||||
* Remember the backslash at the end of non-terminating lines!
|
||||
*/
|
||||
|
||||
#define VIRTUALLIST {\
|
||||
"One", \
|
||||
"Two", \
|
||||
"Three", \
|
||||
"Four", \
|
||||
"Five", \
|
||||
"Six", \
|
||||
"Seven", \
|
||||
"Eight", \
|
||||
"Nine", \
|
||||
"Ten", \
|
||||
"Eleven", \
|
||||
"Twelve", \
|
||||
0 \
|
||||
}
|
||||
|
||||
// clang-format on
|
||||
|
|
15
menu.c
15
menu.c
|
@ -27,20 +27,7 @@ int reversehide = 1;
|
|||
|
||||
Client* currents[NUMVIRTUALS] = {NULL, NULL, NULL, NULL};
|
||||
|
||||
char* b2items[NUMVIRTUALS + 1] = {
|
||||
"One",
|
||||
"Two",
|
||||
"Three",
|
||||
"Four",
|
||||
"Five",
|
||||
"Six",
|
||||
"Seven",
|
||||
"Eight",
|
||||
"Nine",
|
||||
"Ten",
|
||||
"Eleven",
|
||||
"Twelve",
|
||||
0};
|
||||
char* b2items[NUMVIRTUALS + 1] = VIRTUALLIST;
|
||||
|
||||
Menu b2menu = {b2items};
|
||||
|
||||
|
|
Loading…
Reference in a new issue