I am configuring my shortcut keys directly to dwm config file (config.def.h).
For eg: To add shortcut to open thunderbird:
static const char *mailclient[] = { "thunderbird", NULL };
and then you add a key-binding to it in static Key keys[ ]:
{ Mod4Mask, XK_m, spawn, {.v = mailclient} },
But what i want to do is open the mail client and send the notification "Thunderbird Opened"; which can simply be done in terminal by thunderbird | notify-send "Thunderbird Opened"
.
So, how to append "| notify-send "Thunderbird Opened
" in above shortcut in dwm config?