Просмотр исходного кода

add vertical padding around tabs

siduck76 3 лет назад
Родитель
Сommit
ddbb0c9e2e
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 1
      chadwm/config.def.h
  2. 1 1
      chadwm/dwm.c

+ 2 - 1
chadwm/config.def.h

@@ -25,7 +25,8 @@ static const int vertpad            = 10;       /* vertical padding of bar */
 static const int sidepad            = 10;       /* horizontal padding of bar */
 static const int horizpadbar        = 5;
 static const int vertpadbar         = 11;
-static const int horizpadtabi       = 13;
+static const int vertpadtab         = 37;
+static const int horizpadtabi       = 15;
 static const int horizpadtabo       = 15;
 static const char *fonts[]          = { "JetBrainsMono Nerd Font:style:medium:size=10",
                                         "Material Design Icons-Regular:size=10",

+ 1 - 1
chadwm/dwm.c

@@ -2396,7 +2396,7 @@ void setup(void) {
     die("no fonts could be loaded.");
   lrpad = drw->fonts->h;
   bh = drw->fonts->h + 2 + vertpadbar + borderpx * 2;
-  th = bh - borderpx * 2;
+  th = vertpadtab;
   updategeom();
   sp = sidepad;
   vp = (topbar == 1) ? vertpad : -vertpad;