Launch dmenu with 4 columns and 30 lines and reformat file
This commit is contained in:
parent
e3096b97e9
commit
fbe4033306
15
config.def.h
15
config.def.h
|
@ -14,6 +14,8 @@ static const int smartgaps = 0; /* 1 means no outer gap when the
|
|||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
static const char *fonts[] = { "GoMono Nerd Font:size=10" };
|
||||
static const char dmenucols[] = "4";
|
||||
static const char dmenulines[] = "30";
|
||||
static const char dmenufont[] = "GoMono Nerd Font:size=10";
|
||||
static const char col_gray1[] = "#222222";
|
||||
static const char col_gray2[] = "#444444";
|
||||
|
@ -23,11 +25,13 @@ static const char col_cyan[] = "#005577";
|
|||
static const char col_pink_red[] = "#99000f";
|
||||
static const unsigned int baralpha = 0xd0;
|
||||
static const unsigned int borderalpha = OPAQUE;
|
||||
|
||||
static const char *colors[][3] = {
|
||||
/* fg bg border */
|
||||
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
||||
[SchemeSel] = { col_gray4, col_gray1, col_gray2 },
|
||||
};
|
||||
|
||||
static const unsigned int alphas[][3] = {
|
||||
/* fg bg border */
|
||||
[SchemeNorm] = { OPAQUE, baralpha, borderalpha },
|
||||
|
@ -86,7 +90,16 @@ static const Layout layouts[] = {
|
|||
|
||||
/* commands */
|
||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
||||
static const char *dmenucmd[] = { "dmenu_run",
|
||||
"-g", dmenucols,
|
||||
"-l", dmenulines,
|
||||
"-m", dmenumon,
|
||||
"-fn", dmenufont,
|
||||
"-nb", col_gray1,
|
||||
"-nf", col_gray3,
|
||||
"-sb", col_cyan,
|
||||
"-sf", col_gray4,
|
||||
NULL };
|
||||
static const char *termcmd[] = { "alacritty", NULL };
|
||||
static const char *togglelang[] = { "/home/vtimofei/scripts/toggle-language", NULL };
|
||||
|
||||
|
|
Loading…
Reference in New Issue