summaryrefslogtreecommitdiff
path: root/cfg.def.h
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-12 21:58:02 -0700
committerBen Sima <ben@bsima.me>2019-05-12 21:58:02 -0700
commit37d99e730a8ca4d8bff73619e9e82a27ca49f06e (patch)
tree61b3be3aad6363f23c6c88b97999eec53f2209c9 /cfg.def.h
parentf131a393d439e794b6f638653e9c33cf6dc1f47b (diff)
add mail subcommand
Diffstat (limited to 'cfg.def.h')
-rw-r--r--cfg.def.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/cfg.def.h b/cfg.def.h
index 643c907..842e777 100644
--- a/cfg.def.h
+++ b/cfg.def.h
@@ -70,11 +70,19 @@ static struct command apps[] = {
DEFCMD("q", "qutebrowser", "qutebrowser")
};
+static struct command mail_commands[] = {
+ DEFCMD("a", "all", "eml all")
+ DEFCMD("i", "in", "n eml in")
+ DEFCMD("n", "new", "n eml new")
+ DEFCMD("o", "out", "n eml out")
+ DEFCMD("t", "tag", "n eml tag")
+};
+
static struct command commands[] = {
DEFPREFIX ("a", "apps" , apps)
DEFCMD ("e", "emacs" , "emacsclient -c")
DEFCMD ("f", "flameshot" , "flameshot gui")
- DEFCMD ("m", "mail" , "notmuch new")
+ DEFPREFIX ("m", "mail" , mail_commands)
DEFPREFIX ("s", "system" , system_commands)
DEFCMD ("r", "run" , "rofi -sidebar-mode -show run")
DEFPREFIX ("v", "volume" , volume_commands)