Skip to content

Instantly share code, notes, and snippets.

@grafuls
Last active August 29, 2015 14:12
Show Gist options
  • Save grafuls/62d49920bf0c9c4c955c to your computer and use it in GitHub Desktop.
Save grafuls/62d49920bf0c9c4c955c to your computer and use it in GitHub Desktop.
Shell script for switching screen resolution to 1408x792(not detected) w/xrandr on my eDP-0
#!/bin/bash
xrandr --newmode "1408x792_60.00" 90.75 1408 1480 1624 1840 792 795 800 823 -hsync +vsync
xrandr --addmode eDP-0 1408x792_60.00
xrandr --output eDP-0 --mode 1408x792_60.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment