[dwm] Switch to new tag

So a while back I asked a question what was the patch you used that switched you automatically to a new tag (or to the tag an application is set to open at) and thanks to Henkm at the Arch forum I discovered it is called switchtotag.

All very helpful but it lead me to another question, for example when I open a file from Thunar with my text editor I want it to switch to the tag that Sublime opens at rather than just an urgent notification flashing on dwmbar/polybar. This question lead me to this YouTube video (very convoluted but you eventually get to the answer you require) and focusonnetactive is the patch in question.

Once patched, any applications or files you open will switch the active tag to the one required.

1 Like