Created
November 13, 2020 03:17
-
-
Save aamsur/1afd8e4de6fafb88ad50bc80efe389de to your computer and use it in GitHub Desktop.
Custom xrandr resolution 1600x900
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 | |
# xrandr only works in X11 sessions, not Wayland | |
[ "$XDG_SESSION_TYPE" = x11 ] || exit 0 | |
xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync | |
xrandr --verbose --addmode eDP-1 "1600x900_60.00" | |
sleep 10; | |
xrandr --output eDP-1 --mode "1600x900_60.00" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment