aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <rvargas@bsccs347.bsc.es>2013-09-12 20:41:34 +0200
committerChristoph Lohmann <20h@r-36.net>2013-09-12 20:47:41 +0200
commitbef599bb279e6c9b08853ceebefade066e362c48 (patch)
treece96a76ce068374ab125d5b198a16677aa830e96 /config.def.h
parent210dda9570095443bac887c2bfcd75f2bcc23780 (diff)
downloadst-bef599bb279e6c9b08853ceebefade066e362c48.tar.gz
st-bef599bb279e6c9b08853ceebefade066e362c48.tar.bz2
st-bef599bb279e6c9b08853ceebefade066e362c48.zip
Add audible bell
\a is the character for bell, and st is only marking the window as urgent if it is not active. This patch adds an audible bell which can be disable with bellvolume variable. Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 24aeb19..6487406 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 = 1;
+
/* TERM value */
static char termname[] = "st-256color";