Created
May 19, 2020 10:32
-
-
Save sixtyfive/b9230d8e43d6f21ad5a7512667036c81 to your computer and use it in GitHub Desktop.
Add new resolution and change to it right away
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
OUT=Virtual-1 X=2560 Y=1440 R=60 bash -c \ | |
'MOD=${X}x${Y}_$R.00; xrandr --newmode $MOD $(cvt $X $Y $R | grep -v "#" | cut -d "\"" -f 3); xrandr --addmode $OUT $MOD; xrandr --output $OUT --mode $MOD' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment