| 1 | # ββ Outputs (monitors) ββββββββββββββββββββββββββββββββββββββββββββ |
| 2 | # List outputs: swaymsg -t get_outputs |
| 3 | # GUI tool: wdisplays / nwg-displays |
| 4 | # Docs: man 5 sway-output |
| 5 | # |
| 6 | # Examples (uncomment and adapt): |
| 7 | # output eDP-1 resolution 1920x1080@60Hz position 0,0 scale 1 |
| 8 | # output HDMI-A-1 resolution 2560x1440@144Hz position 1920,0 adaptive_sync on |
| 9 | # |
| 10 | # Turn the laptop screen off when the lid is closed (external monitor setups) |
| 11 | # bindswitch --reload --locked lid:on output eDP-1 disable |
| 12 | # bindswitch --reload --locked lid:off output eDP-1 enable |
| 13 | |
| 14 | # Pin workspaces to monitors |
| 15 | # workspace 1 output eDP-1 |
| 16 | # workspace 9 output HDMI-A-1 |
| 17 | |
| 18 | output * subpixel rgb |