diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index 737c815..48a13d9 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -1374,6 +1374,8 @@ static const Button buttons[] = { /* click event mask button function argument */ #if BAR_STATUSBUTTON_PATCH { ClkButton, 0, Button1, spawn, SHCMD("spmenu_run -d -a '-g 4 -l 10'") /* use spmenu instead of dmenu */ }, + { ClkButton, 0, Button2, spawn, {.v = dmenucmd } /* launch dmenu instead if middle-clicked*/ }, + { ClkButton, 0, Button3, spawn, SHCMD("jgmenu_run apps | jgmenu --simple --at-pointer") /* launch jgmenu on right click */ }, { ClkButton2, 0, Button1, spawn, {.v = termcmd } }, { ClkButton2, 0, Button3, spawn, SHCMD("printf 'ī’‰ New tabbed session, tabbed -r 2 st -w \"\"\nī’‰ New dvtm session, st -T dvtm abduco -c dvtm dvtm-status\n' | jgmenu --simple --at-pointer") }, { ClkButton3, 0, Button1, spawn, SHCMD("firefox") },