From 08ea805598fe3bcf3ebc4589a3e578a21c13ccf9 Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Mon, 29 Aug 2022 19:33:24 +0200 Subject: [PATCH] Update autorandr config --- .config/autorandr/home/config | 15 ++++++++-- .config/autorandr/home/setup | 2 +- .config/autorandr/home1/config | 36 +++++++++++++++++++++++ .config/autorandr/home1/setup | 2 ++ .config/autorandr/home2+xppen/config | 43 ++++++++++++++++++++++++++++ .config/autorandr/home2+xppen/setup | 3 ++ .config/autorandr/home2/config | 19 ++++++++---- .config/autorandr/home2/setup | 2 +- .config/autorandr/postswitch | 18 +++++++++++- 9 files changed, 129 insertions(+), 11 deletions(-) create mode 100644 .config/autorandr/home1/config create mode 100644 .config/autorandr/home1/setup create mode 100644 .config/autorandr/home2+xppen/config create mode 100644 .config/autorandr/home2+xppen/setup diff --git a/.config/autorandr/home/config b/.config/autorandr/home/config index 319f124..b13816f 100644 --- a/.config/autorandr/home/config +++ b/.config/autorandr/home/config @@ -2,10 +2,10 @@ output DP1 off output DP2 off -output DP2-1 -off output DP2-2 off +output DP2-3 +off output HDMI1 off output HDMI2 @@ -20,8 +20,17 @@ mode 1920x1080 pos 0x0 primary rate 60.00 -output DP2-3 +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 +x-prop-scaling_mode Full aspect +output DP2-1 crtc 1 mode 1920x1080 pos 1920x0 rate 60.00 +x-prop-audio auto +x-prop-broadcast_rgb Automatic +x-prop-max_bpc 12 +x-prop-non_desktop 0 diff --git a/.config/autorandr/home/setup b/.config/autorandr/home/setup index addd9eb..fd3e207 100644 --- a/.config/autorandr/home/setup +++ b/.config/autorandr/home/setup @@ -1,2 +1,2 @@ -DP2-3 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 +DP2-1 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/home1/config b/.config/autorandr/home1/config new file mode 100644 index 0000000..9781acf --- /dev/null +++ b/.config/autorandr/home1/config @@ -0,0 +1,36 @@ +output DP1 +off +output DP1-2 +off +output DP1-3 +off +output DP2 +off +output HDMI1 +off +output HDMI2 +off +output HDMI3 +off +output VIRTUAL1 +off +output eDP1 +crtc 0 +mode 1920x1080 +pos 0x0 +primary +rate 60.00 +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 +x-prop-scaling_mode Full aspect +output DP1-1 +crtc 1 +mode 1920x1080 +pos 1920x0 +rate 60.00 +x-prop-audio auto +x-prop-broadcast_rgb Automatic +x-prop-max_bpc 12 +x-prop-non_desktop 0 diff --git a/.config/autorandr/home1/setup b/.config/autorandr/home1/setup new file mode 100644 index 0000000..6635dc4 --- /dev/null +++ b/.config/autorandr/home1/setup @@ -0,0 +1,2 @@ +DP1-1 --CONNECTED-BUT-EDID-UNAVAILABLE--DP1-1 +eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/home2+xppen/config b/.config/autorandr/home2+xppen/config new file mode 100644 index 0000000..96b2562 --- /dev/null +++ b/.config/autorandr/home2+xppen/config @@ -0,0 +1,43 @@ +output DP1 +off +output DP1-2 +off +output DP2 +off +output HDMI1 +off +output HDMI2 +off +output HDMI3 +off +output VIRTUAL1 +off +output eDP1 +crtc 0 +mode 1920x1080 +pos 0x0 +primary +rate 60.00 +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 +x-prop-scaling_mode Full aspect +output DP1-1 +crtc 1 +mode 1920x1080 +pos 1920x0 +rate 60.00 +x-prop-audio auto +x-prop-broadcast_rgb Automatic +x-prop-max_bpc 12 +x-prop-non_desktop 0 +output DP1-3 +crtc 2 +mode 1920x1080 +pos 1067x1080 +rate 60.00 +x-prop-audio auto +x-prop-broadcast_rgb Automatic +x-prop-max_bpc 12 +x-prop-non_desktop 0 diff --git a/.config/autorandr/home2+xppen/setup b/.config/autorandr/home2+xppen/setup new file mode 100644 index 0000000..e773f6c --- /dev/null +++ b/.config/autorandr/home2+xppen/setup @@ -0,0 +1,3 @@ +DP1-1 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 +DP1-3 00ffffffffffff0054e41515170621201f1f0104a5221378221e55a059569f270d5054210800d1c0818095009500b30081c001010101023a801871382d40582c450059c21000001e000000ff0032303231303631370a20202020000000fc00434431363046480a2020202020000000fd00383d1e5311000a2020202020200150020310c043900204230907078301000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094 +eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/home2/config b/.config/autorandr/home2/config index e6edb2a..b13816f 100644 --- a/.config/autorandr/home2/config +++ b/.config/autorandr/home2/config @@ -1,11 +1,11 @@ output DP1 off -output DP1-1 -off -output DP1-2 -off output DP2 off +output DP2-2 +off +output DP2-3 +off output HDMI1 off output HDMI2 @@ -20,8 +20,17 @@ mode 1920x1080 pos 0x0 primary rate 60.00 -output DP1-3 +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 +x-prop-scaling_mode Full aspect +output DP2-1 crtc 1 mode 1920x1080 pos 1920x0 rate 60.00 +x-prop-audio auto +x-prop-broadcast_rgb Automatic +x-prop-max_bpc 12 +x-prop-non_desktop 0 diff --git a/.config/autorandr/home2/setup b/.config/autorandr/home2/setup index b161ffc..4f718f1 100644 --- a/.config/autorandr/home2/setup +++ b/.config/autorandr/home2/setup @@ -1,2 +1,2 @@ -DP1-3 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 +DP2-1 --CONNECTED-BUT-EDID-UNAVAILABLE--DP2-1 eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch index 740a628..fad4cc2 100755 --- a/.config/autorandr/postswitch +++ b/.config/autorandr/postswitch @@ -63,9 +63,14 @@ function main() { set_screens "eDP1" "DP2-1" "DP2-1" pacmd set-card-profile 0 HiFi: Default ;; + + "home1") + set_screens "eDP1" "DP1-1" "DP1-1" + pacmd set-card-profile 0 HiFi: Default + ;; "home2") - set_screens "eDP1" "DP1-3" "DP1-3" + set_screens "eDP1" "DP1-1" "DP1-1" pacmd set-card-profile 0 HiFi: Default ;; @@ -85,8 +90,19 @@ function main() { "home+xppen") set_screens_with_xppen "eDP1" "DP2-1" "DP2-3" + pacmd set-card-profile 0 HiFi: Default ;; + "home1+xppen") + set_screens_with_xppen "eDP1" "DP1-1" "DP1-3" + pacmd set-card-profile 0 HiFi: Default + ;; + + "home2+xppen") + set_screens_with_xppen "eDP1" "DP1-1" "DP1-3" + pacmd set-card-profile 0 HiFi: Default + ;; + *) notify-send -i display "Display profile" "CONFIGURATION NON RECONNUE" ;;