birdmenu

mrgrouse's dmenu - a dmenu fork by the bird
Log | Files | Refs | README | LICENSE

commit b572b81dd28a8814312299211a32db9060f693a8
parent 3beff2214d82c21b0749d726e77b0da2ef2295be
Author: mrgrouse <bdmfegys@duck.com>
Date:   Wed, 25 Jun 2025 05:13:19 -0400

birdmenu.c: change name of program in error/usage output

Diffstat:
Mbirdmenu.c | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/birdmenu.c b/birdmenu.c @@ -793,7 +793,7 @@ setup(void) XIM xim; Window w, dw, *dws; XWindowAttributes wa; - XClassHint ch = {"dmenu", "dmenu"}; + XClassHint ch = {"birdmenu", "birdmenu"}; #ifdef XINERAMA XineramaScreenInfo *info; Window pw; @@ -908,7 +908,7 @@ setup(void) static void usage(void) { - fputs("usage: dmenu [-bfiPrv] [-l lines] [-p prompt] [-fn font] [-m monitor]\n" + fputs("usage: birdmenu [-bfiPrv] [-l lines] [-p prompt] [-fn font] [-m monitor]\n" " [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]\n", stderr); exit(1); } @@ -948,7 +948,7 @@ main(int argc, char *argv[]) for (i = 1; i < argc; i++) /* these options take no arguments */ if (!strcmp(argv[i], "-v")) { /* prints version information */ - puts("dmenu-"VERSION); + puts("birdmenu-"VERSION); exit(0); } else if (!strcmp(argv[i], "-b")) /* appears at the bottom of the screen */ topbar = 0; @@ -1023,5 +1023,3 @@ main(int argc, char *argv[]) run(); return 1; /* unreachable */ -} -