hyprland: add xrandr script for custom windowed resolutions
This commit is contained in:
parent
f1a774bf55
commit
5a03cddbe9
15
hypr/scripts/xrandr.sh
Executable file
15
hypr/scripts/xrandr.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user