Files
sway-new-config/scripts/legacy-x11/add-144hz-mode-xorg.sh

14 lines
349 B
Bash
Executable File

#!/bin/bash
# Script to add 144Hz mode to i3
echo "Adding 144Hz mode to i3..."
DISPLAY="DisplayPort-0"
MODE="2560x1440_144.00_rb2"
xrandr --newmode $MODE 586.59 2560 2568 2600 2640 1440 1529 1537 1543 +hsync -vsync
xrandr --addmode $DISPLAY $MODE
xrandr --output $DISPLAY --mode $MODE
echo "144Hz mode should now be active. Check with: xrandr"