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