Split a monitor in two

From Lucca's Wiki
Jump to navigationJump to search

I wrote a script to split my broken ultrawide monitor into halves that are the working portions, no longer needing to use xmonad's "fixedlayout" for this functionality.

#!/bin/bash
xrandr --delmonitor m1
xrandr --delmonitor m2
xrandr --setmonitor m1 727/1x1080/1+640+0 DisplayPort-0
xrandr --setmonitor m2 2880/1x1080/1+1600+0 none