I rely on wmctrl a lot to switch between windows, basically to avoid typing alt-tab many times. I've always used one workspace but now I want to begin using more than one.
I was wondering if it is possible to modify the context of wmctrl so that when I type
wmctrl -l, only windows from the current workspace are shown, instead of all windows from all workspaces.
For example, assuming I have a Firefox window opened in workspace 1. I have a keyboard shortcut on
ctrl+alt+f that executes
wmctrl -a firefox, which switches to Firefox. If I open a new Firefox window on workspace 2 and type
ctrl+alt+f, it will switch to the window at workspace 1, which is not what I want.
Any suggestions/ideas on how to solve this?
EDIT: I'm using compiz (Unity)