From 37d99e730a8ca4d8bff73619e9e82a27ca49f06e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 12 May 2019 21:58:02 -0700 Subject: add mail subcommand --- cfg.def.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3