Created
October 20, 2025 08:28
-
-
Save simonfontana/0553e2c78dd1ff0076d45cb56153e83b to your computer and use it in GitHub Desktop.
Virtual monitors in i3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Setup for i3 on laptop (1920x1080) + ultrawide (3440x1440) | |
| # Splits ultrawide into 2 virtual 1720x1440 monitors, laptop on left | |
| xrandr --delmonitor DP-1-left; xrandr --delmonitor DP-1-right; \ | |
| xrandr --setmonitor DP-1-left 1720/800x1440/340+1920+0 DP-1; \ | |
| xrandr --setmonitor DP-1-right 1720/800x1440/340+3640+0 none | |
| # After running, refresh i3 with Mod+Shift+R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment