Hi,

I think the easiest way would be, to have a perl-script, that gets the
currently active output over IPC and sends the command "workspace
$1_{output}", when called with "scriptname n", then put into your config
file something like this:
bindsym 1 exec /path/to/scriptname 1
bindsym 2 exec /path/to/scriptname 2
…
workspace 1_DPI1 output DPI1
workspace 2_DPI1 output DPI2
…
workspace 1_eDPI1 output eDPI1
…

Alternatively you could do without an external script, by using modes in
your config, so effectively duplicate all your bindings into two modes,
just change the keybindings for switching between workspaces. Then have
a binding to toggle between modes (effectively switching outputs).

Best,

Axel

Reply via email to