xrandr it’s possible to set a primary screen. As an example I’m currently using
xrandr --output HDMI-0 --auto --right-of LVDS --primary to connect a bigger monitor.
At the moment I’m using the following two commands in my
.i3/config to move a workspace from the laptop screen to the VGA-connected monitor and back to my laptop.
bindsym $mod+m move workspace to output VGA-0 bindsym $mod+Shift+m move workspace to output LVDS
These two commands have a few problems. Sometimes I’m using a screen connected with VGA, but sometimes I’m using HDMI. Someday I will have it left of my laptop, on another day I will have it on the right.
So I’m wondering:
- Is there a way to move a workspace to the primary screen?
- If not: How can I use a single shortcut to move a workspace away from my laptops monitor?