customization

This commit is contained in:
2023-02-25 18:06:02 +01:00
parent dc51ce018b
commit 033a71a393
3 changed files with 8 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ static int min_width = 500; /* minimum width when centered */
#endif // CENTER_PATCH
#if BARPADDING_PATCH
static const int vertpad = 10; /* vertical padding of bar */
static const int sidepad = 10; /* horizontal padding of bar */
static const int sidepad = 30; /* horizontal padding of bar */
#endif // BARPADDING_PATCH
#if RESTRICT_RETURN_PATCH
static int restrict_return = 0; /* -1 option; if 1, disables shift-return and ctrl-return */
@@ -35,6 +35,7 @@ static char *fonts[] =
static const char *fonts[] =
#endif // XRESOURCES_PATCH
{
"SauceCodePro Nerd Font Mono:size=11:antialias=true"
"monospace:size=10"
};
#endif // PANGO_PATCH
@@ -120,7 +121,7 @@ static unsigned int lines = 0;
static unsigned int columns = 0;
#endif // GRID_PATCH
#if LINE_HEIGHT_PATCH
static unsigned int lineheight = 0; /* -h option; minimum height of a menu line */
static unsigned int lineheight = 32; /* -h option; minimum height of a menu line */
static unsigned int min_lineheight = 8;
#endif // LINE_HEIGHT_PATCH
#if NAVHISTORY_PATCH

4
dwm/.dmenu/recompile Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
rm -f ./config.h
sudo make clean install

View File

@@ -403,7 +403,7 @@ static const char *const autostart[] = {
#if RENAMED_SCRATCHPADS_PATCH
static const char *scratchpadcmd[] = {"s", "st", "-n", "spterm", NULL};
#elif SCRATCHPADS_PATCH
const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL };
const char *spcmd1[] = {"alacritty", "-t", "scratchpad", "--option", "window.dimensions.columns=120", "--option", "window.dimensions.lines=34", NULL };
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spcmd1},