Updated Multihead setup with X11 backend (markdown)

Lucas Treffenstädt 2019-01-14 13:15:30 +01:00
parent d31433b967
commit 7454f42b67

@ -14,7 +14,8 @@ This guide explains how to set up sway running under X11 (e.g. started from an X
I have created a script to automate steps 3 and 4 for two outputs with a width of 1920 pixels: I have created a script to automate steps 3 and 4 for two outputs with a width of 1920 pixels:
`#!/bin/bash ```
#!/bin/bash
windows=$(DISPLAY=:0 xdotool search --name '') windows=$(DISPLAY=:0 xdotool search --name '')
win1='' win1=''
win2='' win2=''
@ -30,4 +31,5 @@ do
fi fi
done done
DISPLAY=:0 xdotool windowmove $win1 1920 0 DISPLAY=:0 xdotool windowmove $win1 1920 0
DISPLAY=:0 xdotool windowmove $win2 0 0` DISPLAY=:0 xdotool windowmove $win2 0 0
```