User Tools

Site Tools


dualmonitors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
dualmonitors [2026/10/24 12:42] – karciodualmonitors [2026/10/24 12:46] (current) – karcio
Line 23: Line 23:
 <code> <code>
 #!/bin/sh #!/bin/sh
 +
 +# Enable both monitors
 swaymsg 'output eDP-1 enable' swaymsg 'output eDP-1 enable'
 swaymsg 'output HDMI-A-1 enable' swaymsg 'output HDMI-A-1 enable'
-swaymsg 'output HDMI-A-1 pos 2560 0'+ 
 +# Laptop screen: right 
 +swaymsg 'output eDP-1 position 0 0' 
 + 
 +# Samsung monitor: left 
 +swaymsg 'output HDMI-A-1 position -2560 0'
 </code> </code>
  
dualmonitors.txt · Last modified: by karcio