The config code is:
# Current displays are:
# 1) HDMI-A-4
# 2) DVI-D-1
# 3) VGA-1
workspace F13 output HDMI-A-4
workspace F14 output HDMI-A-4
workspace F15 output HDMI-A-4
workspace 0 output DVI-D-1
...
workspace 10 output DVI-D-1
workspace browser output DVI-D-1
workspace F1 output DVI-D-1
workspace F2 output DVI-D-1
workspace F16 output VGA-1
workspace F17 output VGA-1
workspace F18 output VGA-1
workspace F19 output VGA-1
That’s how I did that on farm.
If I want to attach workspace to multiple outputs, I need to specify it multiple times:
workspace 0 output DP-1
...
workspace 9 output DP-1
workspace browser output DP-1
workspace mail output DP-1
workspace viber output DP-1
workspace telegram output DP-1
workspace files output DP-1
workspace gimp output DP-1
workspace code output DP-1
workspace 0 output HDMI-A-1
...
workspace 9 output HDMI-A-1
workspace browser output HDMI-A-1
workspace mail output HDMI-A-1
workspace viber output HDMI-A-1
workspace telegram output HDMI-A-1
workspace files output HDMI-A-1
workspace gimp output HDMI-A-1
workspace code output HDMI-A-1