mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 08:51:27 +00:00
Updated Multihead setup with X11 backend (markdown)
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:
|
||||
|
||||
`#!/bin/bash
|
||||
```
|
||||
#!/bin/bash
|
||||
windows=$(DISPLAY=:0 xdotool search --name '')
|
||||
win1=''
|
||||
win2=''
|
||||
|
@ -30,4 +31,5 @@ do
|
|||
fi
|
||||
done
|
||||
DISPLAY=:0 xdotool windowmove $win1 1920 0
|
||||
DISPLAY=:0 xdotool windowmove $win2 0 0`
|
||||
DISPLAY=:0 xdotool windowmove $win2 0 0
|
||||
```
|
Loading…
Reference in a new issue