dotfiles/hypr/scripts/xrandr.sh

16 lines
539 B
Bash
Raw Normal View History

#!/bin/bash
# Custom resolution through xrandr
xrandr --newmode "2560x1080" 677.75 2560 2784 3064 3568 1080 1083 1093 1188 -hsync +vsync
xrandr --addmode DP-3 2560x1080
# 3200x900 suggestion
xrandr --newmode "3200x900" 704.50 3200 3472 3824 4448 900 903 913 991 -hsync +vsync
xrandr --addmode DP-3 3200x900
# 3200x1100 suggestion
xrandr --newmode "3200x1100" 863.75 3200 3480 3832 4464 1100 1103 1113 1210 -hsync +vsync
xrandr --addmode DP-3 3200x1100
sleep 2 && xrandr --output DP-3 --primary # Set primary monitor for xwayland