feat(dwm): complete rebranding (dwm -> archy-dwm)
This commit is contained in:
parent
5e4a0bb79b
commit
a6cec51475
1 changed files with 8 additions and 8 deletions
|
@ -143,7 +143,7 @@ autostart_exec() {
|
||||||
if ((autostart_pids[i] = fork()) == 0) {
|
if ((autostart_pids[i] = fork()) == 0) {
|
||||||
setsid();
|
setsid();
|
||||||
execvp(*p, (char *const *) p);
|
execvp(*p, (char *const *) p);
|
||||||
fprintf(stderr, "dwm: execvp %s\n", *p);
|
fprintf(stderr, "archy-dwm: execvp %s\n", *p);
|
||||||
perror(" failed");
|
perror(" failed");
|
||||||
_exit(EXIT_FAILURE);
|
_exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
@ -1624,7 +1624,7 @@ setup(void) {
|
||||||
XChangeProperty(dpy, wmcheckwin, netatom[NetWMCheck], XA_WINDOW, 32,
|
XChangeProperty(dpy, wmcheckwin, netatom[NetWMCheck], XA_WINDOW, 32,
|
||||||
PropModeReplace, (unsigned char *) &wmcheckwin, 1);
|
PropModeReplace, (unsigned char *) &wmcheckwin, 1);
|
||||||
XChangeProperty(dpy, wmcheckwin, netatom[NetWMName], utf8string, 8,
|
XChangeProperty(dpy, wmcheckwin, netatom[NetWMName], utf8string, 8,
|
||||||
PropModeReplace, (unsigned char *) "dwm", 3);
|
PropModeReplace, (unsigned char *) "archy-dwm", 3);
|
||||||
XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32,
|
XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32,
|
||||||
PropModeReplace, (unsigned char *) &wmcheckwin, 1);
|
PropModeReplace, (unsigned char *) &wmcheckwin, 1);
|
||||||
/* EWMH support per view */
|
/* EWMH support per view */
|
||||||
|
@ -1704,7 +1704,7 @@ spawn(const Arg *arg) {
|
||||||
close(ConnectionNumber(dpy));
|
close(ConnectionNumber(dpy));
|
||||||
setsid();
|
setsid();
|
||||||
execvp(((char **) arg->v)[0], (char **) arg->v);
|
execvp(((char **) arg->v)[0], (char **) arg->v);
|
||||||
fprintf(stderr, "dwm: execvp %s", ((char **) arg->v)[0]);
|
fprintf(stderr, "archy-dwm: execvp %s", ((char **) arg->v)[0]);
|
||||||
perror(" failed");
|
perror(" failed");
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
@ -1878,7 +1878,7 @@ updatebars(void) {
|
||||||
.background_pixmap = ParentRelative,
|
.background_pixmap = ParentRelative,
|
||||||
.event_mask = ButtonPressMask | ExposureMask
|
.event_mask = ButtonPressMask | ExposureMask
|
||||||
};
|
};
|
||||||
XClassHint ch = {"dwm", "dwm"};
|
XClassHint ch = {"archy-dwm", "archy-dwm"};
|
||||||
for (m = mons; m; m = m->next) {
|
for (m = mons; m; m = m->next) {
|
||||||
if (m->barwin)
|
if (m->barwin)
|
||||||
continue;
|
continue;
|
||||||
|
@ -2059,7 +2059,7 @@ updatesizehints(Client *c) {
|
||||||
void
|
void
|
||||||
updatestatus(void) {
|
updatestatus(void) {
|
||||||
if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
|
if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
|
||||||
strcpy(stext, "dwm-"
|
strcpy(stext, "archy dwm-"
|
||||||
VERSION);
|
VERSION);
|
||||||
drawbar(selmon);
|
drawbar(selmon);
|
||||||
updatesystray();
|
updatesystray();
|
||||||
|
@ -2146,7 +2146,7 @@ updatesystray(void) {
|
||||||
0);
|
0);
|
||||||
XSync(dpy, False);
|
XSync(dpy, False);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "dwm: unable to obtain system tray.\n");
|
fprintf(stderr, "archy-dwm: unable to obtain system tray.\n");
|
||||||
free(systray);
|
free(systray);
|
||||||
systray = NULL;
|
systray = NULL;
|
||||||
return;
|
return;
|
||||||
|
@ -2309,7 +2309,7 @@ xerror(Display *dpy, XErrorEvent *ee) {
|
||||||
|| (ee->request_code == X_GrabKey && ee->error_code == BadAccess)
|
|| (ee->request_code == X_GrabKey && ee->error_code == BadAccess)
|
||||||
|| (ee->request_code == X_CopyArea && ee->error_code == BadDrawable))
|
|| (ee->request_code == X_CopyArea && ee->error_code == BadDrawable))
|
||||||
return 0;
|
return 0;
|
||||||
fprintf(stderr, "dwm: fatal error: request code=%d, error code=%d\n",
|
fprintf(stderr, "archy-dwm: fatal error: request code=%d, error code=%d\n",
|
||||||
ee->request_code, ee->error_code);
|
ee->request_code, ee->error_code);
|
||||||
return xerrorxlib(dpy, ee); /* may call exit */
|
return xerrorxlib(dpy, ee); /* may call exit */
|
||||||
}
|
}
|
||||||
|
@ -2323,7 +2323,7 @@ xerrordummy(Display *dpy, XErrorEvent *ee) {
|
||||||
* is already running. */
|
* is already running. */
|
||||||
int
|
int
|
||||||
xerrorstart(Display *dpy, XErrorEvent *ee) {
|
xerrorstart(Display *dpy, XErrorEvent *ee) {
|
||||||
die("dwm: another window manager is already running");
|
die("archy-dwm: another window manager is already running");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue