cleanup + update shell and add memory leak fix

This commit is contained in:
hippoz 2022-01-21 19:10:17 +02:00
parent 89c184febf
commit bb7393981f
No known key found for this signature in database
GPG key ID: 7C52899193467641
5 changed files with 3 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View file

@ -95,6 +95,7 @@ drw_free(Drw *drw)
{
XFreePixmap(drw->dpy, drw->drawable);
XFreeGC(drw->dpy, drw->gc);
drw_fontset_free(drw->fonts); // https://git.suckless.org/dwm/commit/f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2.html
free(drw);
}

View file

@ -16,7 +16,7 @@ static int borderpx = 4;
* 4: value of shell in /etc/passwd
* 5: value of shell in config.h
*/
static char *shell = "/bin/zsh";
static char *shell = "/bin/bash";
char *utmp = NULL;
/* scroll program: to enable use a string like "scroll" */
char *scroll = NULL;

View file

@ -16,7 +16,7 @@ static int borderpx = 4;
* 4: value of shell in /etc/passwd
* 5: value of shell in config.h
*/
static char *shell = "/bin/zsh";
static char *shell = "/bin/bash";
char *utmp = NULL;
/* scroll program: to enable use a string like "scroll" */
char *scroll = NULL;