Skip to content

Commit

Permalink
Switch from xrandr script to xorg configs
Browse files Browse the repository at this point in the history
+ 20-amdgpu.conf -> /etc/X11/xorg.conf.d/    # AMD TearFree Config
+ 30-monitors.conf -> /etc/X11/xorg.conf.d/  # Three monitor Config
  • Loading branch information
Zonric committed Feb 10, 2023
1 parent 4e12593 commit a4bde87
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .config/xorg/20-amdgpu.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "true"
EndSection

23 changes: 23 additions & 0 deletions .config/xorg/30-monitors.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Section "Monitor"
Identifier "DisplayPort-0"
Option "PreferredMode" "3440x1440_144.00"
Option "RightOf" "DisplayPort-1"
Option "Primary" "true"
Option "DPMS"
Modeline "3440x1440_144.00" 1085.33 3440 3744 4128 4816 1440 1441 1444 1565 -HSync +Vsync
EndSection

Section "Monitor"
Identifier "DisplayPort-1"
Option "PreferredMode" "1920x1080_144.00"
Option "Position" "0 0"
Option "DPMS"
Modeline "1920x1080_144.00" 451.72 1920 2080 2296 2672 1080 1081 1084 1174 -HSync +Vsync
EndSection

Section "Monitor"
Identifier "DisplayPort-2"
Option "PreferredMode" "1920x1080_144.00"
Option "RightOf" "DisplayPort-0"
Modeline "1920x1080_144.00" 451.72 1920 2080 2296 2672 1080 1081 1084 1174 -HSync +Vsync
EndSection
7 changes: 0 additions & 7 deletions .config/xorg/monitorsetup.sh

This file was deleted.

0 comments on commit a4bde87

Please sign in to comment.