i3-msg set workspace on specific output
So I am trying to dynamically set my workspaces to output on specific displays. The problem is i3-msg doesn't seem to want to accept i3-msg workspace 1 output $PRIMARY
. It works perfectly fine in my ~/.i3/config but when I run it in i3-msg it creates a brand new workspace with the name "1 output HDMI-0" instead of forcing workspace 1 to output HDMI-0. I've also tried putting quotes around the workspace name to no avail i3-msg workspace "1" output $PRIMARY
. I would really appreciate it if someone could point me in the right direction, thanks!