Add statuspadding patch
This commit is contained in:
parent
645882cc94
commit
5d304c99af
3
PATCHES
3
PATCHES
|
@ -5,5 +5,6 @@ gaplessgrid
|
|||
status2d + extrabar
|
||||
barpadding + notitle
|
||||
resizecorners
|
||||
statuspadding
|
||||
|
||||
fonts?
|
||||
- fonts
|
||||
|
|
|
@ -9,6 +9,8 @@ static const unsigned int snap = 32; /* snap pixel */
|
|||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
static const char statussep = ';';
|
||||
static const int horizpadbar = 8; /* horizontal padding for statusbar */
|
||||
static const int vertpadbar = 12; /* vertical padding for statusbar */
|
||||
static const char *fonts[] = { "Ubuntu Mono:size=12" };
|
||||
static const char dmenufont[] = "Ubuntu Mono:size=12";
|
||||
static const char col_gray1[] = "#222222";
|
||||
|
|
2
config.h
2
config.h
|
@ -9,6 +9,8 @@ static const unsigned int snap = 32; /* snap pixel */
|
|||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
static const char statussep = ';';
|
||||
static const int horizpadbar = 8; /* horizontal padding for statusbar */
|
||||
static const int vertpadbar = 12; /* vertical padding for statusbar */
|
||||
static const char *fonts[] = { "Ubuntu Mono:size=12" };
|
||||
static const char dmenufont[] = "Ubuntu Mono:size=12";
|
||||
static const char col_gray1[] = "#222222";
|
||||
|
|
4
dwm.c
4
dwm.c
|
@ -1704,8 +1704,8 @@ setup(void)
|
|||
drw = drw_create(dpy, screen, root, sw, sh);
|
||||
if (!drw_fontset_create(drw, fonts, LENGTH(fonts)))
|
||||
die("no fonts could be loaded.");
|
||||
lrpad = drw->fonts->h;
|
||||
bh = drw->fonts->h + 2;
|
||||
lrpad = drw->fonts->h + horizpadbar;
|
||||
bh = drw->fonts->h + vertpadbar;
|
||||
updategeom();
|
||||
/* init atoms */
|
||||
utf8string = XInternAtom(dpy, "UTF8_STRING", False);
|
||||
|
|
Loading…
Reference in New Issue