improve structure; move stuff to relevant folders
This commit is contained in:
13
scripts/legacy-x11/add-144hz-mode-xorg.sh
Executable file
13
scripts/legacy-x11/add-144hz-mode-xorg.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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"
|
||||
5
scripts/legacy-x11/set-displays-order-xorg.sh
Executable file
5
scripts/legacy-x11/set-displays-order-xorg.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
xrandr \
|
||||
--output HDMI-A-0 --primary --pos 0x0 \
|
||||
--output DisplayPort-0 --pos 2560x0
|
||||
Reference in New Issue
Block a user