X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.def.h;h=2a7e09863e3bc1ffc1c73660d8ea184e678dd831;hb=3d3c37bc70042cd2f4bbc8f6ea5fceb2311f0a32;hp=24aeb1945d7728ebae23800b638fecaea8c69bf7;hpb=4245ba0d12a330b3e54c6498e88024d90956ae34;p=st.git diff --git a/config.def.h b/config.def.h index 24aeb19..2a7e098 100644 --- a/config.def.h +++ b/config.def.h @@ -37,6 +37,12 @@ static unsigned int actionfps = 30; */ static unsigned int blinktimeout = 800; +/* + * bell volume. It must be a value between -100 and 100. Use 0 for disabling + * it + */ +static int bellvolume = 0; + /* TERM value */ static char termname[] = "st-256color"; @@ -140,10 +146,10 @@ static Shortcut shortcuts[] = { static KeySym mappedkeys[] = { -1 }; /* - * Which bits of the state should be ignored. By default the state bit for the - * keyboard layout (XK_SWITCH_MOD) is ignored. + * State bits to ignore when matching key or button events. By default, + * numlock (Mod2Mask) and keyboard layout (XK_SWITCH_MOD) are ignored. */ -uint ignoremod = XK_SWITCH_MOD; +static uint ignoremod = Mod2Mask|XK_SWITCH_MOD; /* key, mask, output, keypad, cursor, crlf */ static Key key[] = {