summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-03-29 11:07:49 -0700
committerBen Sima <ben@bsima.me>2020-03-29 11:07:49 -0700
commit3b3912efe83edad7025133de5f63f9cc1ef5afa4 (patch)
tree10fc38ac83fa1fba0a8f22981e74198d89cda143 /lib
parent683fccefd743ad49cc1ce8feea5d13962e36faac (diff)
Add mumble quit
Diffstat (limited to 'lib')
-rw-r--r--lib/cfg.def.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/cfg.def.h b/lib/cfg.def.h
index 39fee2c..0c09684 100644
--- a/lib/cfg.def.h
+++ b/lib/cfg.def.h
@@ -43,6 +43,13 @@ static struct scheme schemes[SchemeLast] = {
},
};
+static struct command mumble[] = {
+ DEFCMD("m", "mute", "mumble rpc togglemute")
+ DEFCMD("d", "deaf", "mumble rpc toggledeaf")
+ DEFCMD("o", "open", "mumble")
+ DEFCMD("q", "quit", "pkill mumble")
+};
+
static struct command apps[] = {
DEFCMD ("c", "chromium" , "chromium")
DEFCMD ("d", "dolphin" , "dolphin")
@@ -55,12 +62,6 @@ static struct command apps[] = {
DEFCMD ("q", "qutebrowser", "qutebrowser")
};
-static struct command mumble[] = {
- DEFCMD("m", "mumble mute", "mumble rpc togglemute")
- DEFCMD("d", "mumble deaf", "mumble rpc toggledeaf")
- DEFCMD("o", "mumble open", "mumble")
-};
-
static struct command mail_commands[] = {
DEFCMD("a", "all", "eml all")
DEFCMD("i", "in", "n eml in")