change fontsize
Build/Publish XBPS / build-and-publish (push) Successful in 7s
Details
Build/Publish XBPS / build-and-publish (push) Successful in 7s
Details
This commit is contained in:
parent
5d407b2052
commit
f99c8d8ee2
42
config.h
42
config.h
|
@ -5,13 +5,12 @@
|
|||
*
|
||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||
*/
|
||||
static char *font = "FiraCode Nerd Font:size=12";
|
||||
static char *font = "FiraCode Nerd Font:pixelsize=14";
|
||||
/* Spare fonts */
|
||||
static char *font2[] = {
|
||||
"Noto Color Emoji:size=11",
|
||||
"Noto Color Emoji:pixelsize=14",
|
||||
};
|
||||
|
||||
|
||||
static int borderpx = 2;
|
||||
|
||||
/* modkey options: ControlMask, ShiftMask or XK_ANY_MOD */
|
||||
|
@ -128,23 +127,11 @@ float alphaUnfocused = 0.8;
|
|||
/* Terminal colors (16 first used in escape sequence) */
|
||||
static const char *colorname[] = {
|
||||
/* 8 normal colors */
|
||||
"#1d202f",
|
||||
"#f7768e",
|
||||
"#9ece6a",
|
||||
"#e0af68",
|
||||
"#7aa2f7",
|
||||
"#bb9af7",
|
||||
"#7dcfff",
|
||||
"#1d202f", "#f7768e", "#9ece6a", "#e0af68", "#7aa2f7", "#bb9af7", "#7dcfff",
|
||||
"#a9b1d6",
|
||||
|
||||
/* 8 bright colors */
|
||||
"#414868",
|
||||
"#f7768e",
|
||||
"#9ece6a",
|
||||
"#e0af68",
|
||||
"#7aa2f7",
|
||||
"#bb9af7",
|
||||
"#7dcfff",
|
||||
"#414868", "#f7768e", "#9ece6a", "#e0af68", "#7aa2f7", "#bb9af7", "#7dcfff",
|
||||
"#c0caf5",
|
||||
|
||||
[255] = 0,
|
||||
|
@ -160,7 +147,6 @@ static const char *colorname[] = {
|
|||
"#33467C", /* 263 -> default selection background colour */
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* Default colors (colorname index)
|
||||
* foreground, background, cursor, reverse cursor
|
||||
|
@ -175,7 +161,6 @@ unsigned int selectionfg = 262;
|
|||
unsigned int selectionbg = 263;
|
||||
static int ignoreselfg = 0;
|
||||
|
||||
|
||||
/*
|
||||
* https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
|
||||
* Default style of cursor
|
||||
|
@ -253,7 +238,8 @@ static uint forcemousemod = ShiftMask;
|
|||
* Beware that overloading Button1 will disable the selection.
|
||||
*/
|
||||
static MouseShortcut mshortcuts[] = {
|
||||
/* mask button function argument release screen */
|
||||
/* mask button function argument release
|
||||
screen */
|
||||
// { XK_ANY_MOD, Button2, clippaste, {.i = 0}, 1 },
|
||||
// { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
|
||||
// { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} },
|
||||
|
@ -269,12 +255,12 @@ static char *openurlcmd[] = { "/bin/sh", "-c",
|
|||
"xurls | dmenu -l 10 -w $WINDOWID | xargs -r open",
|
||||
"externalpipe", NULL};
|
||||
|
||||
static char *setbgcolorcmd[] = { "/bin/sh", "-c",
|
||||
"printf '\033]11;#008000\007'",
|
||||
static char *setbgcolorcmd[] = {"/bin/sh", "-c", "printf '\033]11;#008000\007'",
|
||||
"externalpipein", NULL};
|
||||
|
||||
static Shortcut shortcuts[] = {
|
||||
/* mask keysym function argument screen */
|
||||
/* mask keysym function argument screen
|
||||
*/
|
||||
{XK_ANY_MOD, XK_Break, sendbreak, {.i = 0}},
|
||||
{ControlMask, XK_Print, toggleprinter, {.i = 0}},
|
||||
{ShiftMask, XK_Print, printscreen, {.i = 0}},
|
||||
|
@ -286,8 +272,9 @@ static Shortcut shortcuts[] = {
|
|||
{TERMMOD, XK_V, clippaste, {.i = 0}},
|
||||
{TERMMOD, XK_O, changealpha, {.f = +0.05}},
|
||||
{TERMMOD, XK_P, changealpha, {.f = -0.05}},
|
||||
//{ TERMMOD, XK_, changealphaunfocused, {.f = +0.05} },
|
||||
//{ TERMMOD, XK_, changealphaunfocused, {.f = -0.05} },
|
||||
//{ TERMMOD, XK_, changealphaunfocused, {.f = +0.05}
|
||||
//}, { TERMMOD, XK_, changealphaunfocused, {.f =
|
||||
//-0.05} },
|
||||
{TERMMOD, XK_Y, selpaste, {.i = 0}},
|
||||
{ShiftMask, XK_Insert, selpaste, {.i = 0}},
|
||||
{TERMMOD, XK_Num_Lock, numlock, {.i = 0}},
|
||||
|
@ -315,14 +302,12 @@ static Shortcut shortcuts[] = {
|
|||
* position for a key.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* State bits to ignore when matching key or button events. By default,
|
||||
* numlock (Mod2Mask) and keyboard layout (XK_SWITCH_MOD) are ignored.
|
||||
*/
|
||||
static uint ignoremod = Mod2Mask | XK_SWITCH_MOD;
|
||||
|
||||
|
||||
/*
|
||||
* Selection types' masks.
|
||||
* Use the same masks as usual.
|
||||
|
@ -338,8 +323,7 @@ static uint selmasks[] = {
|
|||
* Printable characters in ASCII, used to estimate the advance width
|
||||
* of single wide characters.
|
||||
*/
|
||||
static char ascii_printable[] =
|
||||
" !\"#$%&'()*+,-./0123456789:;<=>?"
|
||||
static char ascii_printable[] = " !\"#$%&'()*+,-./0123456789:;<=>?"
|
||||
"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
|
||||
"`abcdefghijklmnopqrstuvwxyz{|}~";
|
||||
|
||||
|
|
Loading…
Reference in New Issue