A simple script that switches to a window with a given window id while respecting which monitor it should show on.
Requirements
This script requires herbstluftwm.
Installation
Put the hlwm-switch-to-window
script anywhere in your $PATH
.
Usage
Call the hlwm-switch-to-window
script with a single argument: the window ID to switch to. For example:
hlwm-switch-to-window 0x0060001a