Smaller font

This commit is contained in:
Alexis Jhon Gaspar 2023-09-12 21:33:52 +08:00
parent 866330d278
commit 25c86726c7
3 changed files with 5 additions and 5 deletions

View file

@ -36,7 +36,7 @@ spmenu = {
/* Text */ /* Text */
text = ( { text = ( {
font = "Hack Nerd Font 14"; // Font to use for all text (text) font = "Hack Nerd Font 11"; // Font to use for all text (text)
leftarrow = "<"; // Left arrow text (text) leftarrow = "<"; // Left arrow text (text)
rightarrow = ">"; // Right arrow text (text) rightarrow = ">"; // Right arrow text (text)
password = "*"; // Password character (text) password = "*"; // Password character (text)

View file

@ -4,7 +4,7 @@
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */ /* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = { static const char *fonts[] = {
"Hack Nerd Font:size=14:" "Hack Nerd Font:size=11:"
}; };
static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *prompt = NULL; /* -p option; prompt to the left of input field */

View file

@ -19,8 +19,8 @@ static const char buttonbar[] = "󰕰 Start";
#define ICONSIZE bh /* icon size */ #define ICONSIZE bh /* icon size */
#define ICONSPACING 5 /* space between icon and title */ #define ICONSPACING 5 /* space between icon and title */
static const int focusonwheel = 0; static const int focusonwheel = 0;
static const char *fonts[] = { "Hack Nerd Font:size=14" }; static const char *fonts[] = { "Hack Nerd Font:size=11" };
static const char dmenufont[] = "Hack Nerd Font:size=14"; static const char dmenufont[] = "Hack Nerd Font:size=11";
static const char col_color1[] = "#173f4f"; static const char col_color1[] = "#173f4f";
static const char col_color2[] = "#173f4f"; static const char col_color2[] = "#173f4f";
static const char col_color3[] = "#ffffff"; static const char col_color3[] = "#ffffff";
@ -103,7 +103,7 @@ static Key keys[] = {
/* modifier key function argument */ /* modifier key function argument */
{ Mod4Mask, XK_s, spawn, SHCMD("spmenu_run -d -a '-g 4 -l 10'") }, { Mod4Mask, XK_s, spawn, SHCMD("spmenu_run -d -a '-g 4 -l 10'") },
{ Mod4Mask|ShiftMask, XK_s, spawn, SHCMD("spmenu_run -a '-g 4 -l 10'") }, { Mod4Mask|ShiftMask, XK_s, spawn, SHCMD("spmenu_run -a '-g 4 -l 10'") },
{ Mod4Mask|Mod1Mask, XK_s, spawn, SHCMD("dmenu_run -fn 'Hack Nerd Font:size=14' -nb '#173f4f' -nf '#ffffff' -sb '#124f5f' -sf '#eeeeee' -g 6 -l 6") }, { Mod4Mask|Mod1Mask, XK_s, spawn, SHCMD("dmenu_run -fn 'Hack Nerd Font:size=11' -nb '#173f4f' -nf '#ffffff' -sb '#124f5f' -sf '#eeeeee' -g 6 -l 6") },
{ Mod4Mask, XK_f, spawn, SHCMD("spmenu_run -fm -a '-g 4 -l 10'") }, { Mod4Mask, XK_f, spawn, SHCMD("spmenu_run -fm -a '-g 4 -l 10'") },
/* needs spmenu */ /* needs spmenu */
{ Mod4Mask, XK_v, spawn, SHCMD("clipmenu-spmenu") }, { Mod4Mask, XK_v, spawn, SHCMD("clipmenu-spmenu") },