mirror of
https://github.com/swaywm/sway.git
synced 2024-12-02 03:16:47 +00:00
Add note about Sway monitor focus
parent
a447f11f7f
commit
79e25788bd
9
Home.md
9
Home.md
|
@ -55,6 +55,15 @@ e.g., if we want to have a monitor with \<name\> HDMI1 and a resolution of 1920x
|
|||
output HDMI1 pos 0 0 res 1920x1080
|
||||
output eDP1 pos 1920 0 res 1600x900
|
||||
```
|
||||
Take a note that you might want to change focus of monitor on sway launch. Add this to your sway config:
|
||||
```
|
||||
focus output <name-or-identifier>
|
||||
```
|
||||
or
|
||||
```
|
||||
exec swaymsg focus output <name-or-identifier>
|
||||
```
|
||||
so it doesn't trigger on reload.
|
||||
|
||||
For more details read `man 5 sway` and search for `output`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue