Created
April 1, 2018 20:20
-
-
Save JunaidQadirB/4fa82116ff44692587a956ace9f77fca to your computer and use it in GitHub Desktop.
Add new screen resolution
This file contains 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
#!/bin/bash | |
# This detects the connected display | |
# xrandr | grep "\sconnected" | |
DISPLAY_ID="eDP-1" | |
xrandr --newmode "1280x720_60.00" 74.48 1280 1336 1472 1664 720 721 724 746 | |
xrandr --addmode $DISPLAY_ID 1280x720_60.00 | |
xrandr --output $DISPLAY_ID --mode 1280x720_60.00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment