How to minimize using hot corner in ubuntu gnome?

I want to enable minimization of the currently active window in the Custom Hot Corners extension.

How can I do it?


Install xdotool and add the following in Custom Hot Corners:

xdotool getactivewindow windowminimize

Also see the following screenshot:

Custom Hot Corners