conf: Fix default wmfs keybinds.
This commit is contained in:
@@ -284,18 +284,19 @@ main(int argc, char *argv[])
|
||||
char *input, *p;
|
||||
int c;
|
||||
char opt;
|
||||
const char *optstring = "hc";
|
||||
|
||||
static struct option shell_opts[] =
|
||||
{
|
||||
{"help", 0, NULL, 'h'},
|
||||
{"cmd", 1, NULL, 'c'},
|
||||
{0,0,0,0}
|
||||
{"help", 0, NULL, 'h'},
|
||||
{"cmd", 1, NULL, 'c'},
|
||||
{0}
|
||||
};
|
||||
|
||||
/* Initialisation */
|
||||
init();
|
||||
|
||||
/* get args from argv */
|
||||
while(EOF != (opt = (char)getopt_long(argc, argv, optstring, shell_opts, NULL)))
|
||||
while(EOF != (opt = (char)getopt_long(argc, argv, "hc", shell_opts, NULL)))
|
||||
{
|
||||
|
||||
/* Just print help */
|
||||
@@ -317,8 +318,6 @@ main(int argc, char *argv[])
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
for(;;)
|
||||
{
|
||||
printf(PROMPT);
|
||||
@@ -338,7 +337,5 @@ main(int argc, char *argv[])
|
||||
free(input);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
tag_set(<tag number>) Change the current tag\n\
|
||||
statustext(text) Print text in the wmfs bar.\n\
|
||||
spawn(<command>) Execute a system command.\n\n"
|
||||
|
||||
#define UICBLIST \
|
||||
"Here is a list of all wmfs's uicb functions that are usable with the exec function: \n\
|
||||
spawn Exec a system command. \n\
|
||||
@@ -81,7 +82,6 @@
|
||||
screen_prev Select the previous screen. \n\
|
||||
reload Reload the WMFS configuration. \n\n"
|
||||
|
||||
|
||||
/* Xlib util macro */
|
||||
#define ROOT RootWindow(dpy, SCREEN)
|
||||
#define ATOM(a) XInternAtom(dpy, a, False)
|
||||
|
||||
Reference in New Issue
Block a user