Install cairo-dock-switcher-plug-in by entering the following commands in the terminal:
sudo apt update sudo apt install cairo-dock-switcher-plug-in
Switcher plug-in for Cairo-dock
A collection of official plug-ins and applets for cairo-dock. . This plug-in allows you to interact with your workspaces. This has 2 modes : compact on one icon and expanded with a sub-dock.