summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)