From b319cbcf7ba5acf5c4f69061d3393ea54858064b Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Sat, 7 Jan 2023 17:00:33 -0800 Subject: autorandr: add ipad config and postswitch scripts --- dot_config/autorandr/ipad/config | 27 +++++++++++++++++++++++++++ dot_config/autorandr/ipad/setup | 2 ++ dot_config/autorandr/postswitch.d/nitrogen | 1 + 3 files changed, 30 insertions(+) create mode 100644 dot_config/autorandr/ipad/config create mode 100644 dot_config/autorandr/ipad/setup create mode 100644 dot_config/autorandr/postswitch.d/nitrogen (limited to 'dot_config/autorandr') diff --git a/dot_config/autorandr/ipad/config b/dot_config/autorandr/ipad/config new file mode 100644 index 0000000..0c340e8 --- /dev/null +++ b/dot_config/autorandr/ipad/config @@ -0,0 +1,27 @@ +output DP-1 +off +output DP-2 +off +output DP-4 +off +output DP-3 +crtc 1 +mode 1920x1200 +pos 0x0 +rate 59.95 +x-prop-audio auto +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 +output eDP-1 +crtc 0 +mode 2256x1504 +pos 1920x0 +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 diff --git a/dot_config/autorandr/ipad/setup b/dot_config/autorandr/ipad/setup new file mode 100644 index 0000000..7f3ff78 --- /dev/null +++ b/dot_config/autorandr/ipad/setup @@ -0,0 +1,2 @@ +DP-3 00ffffffffffff0005e3cd0c00000000031b0103803e2278ea1ec5ae4f34b1260e50542fcf00d1cfb300a9c095008181810081c0d100023a801871382d40582c3500e00e1100001ae26800a0a0402e603020360080902100001a565e00a0a0a029503020360080682100001a000000fc003238453835300a20202020202001b202033c705261bf050460656603011f121314205d5e5f6223090707830100006d030c001000384420006001020367d85dc401780000e3050301e20f71888340a0b0082e7030203600d0c22100001a04740030f2705a8030204600c01c3200001a08e80030f2705a80b0582a00c01c3200001e000000000000000000000000004e +eDP-1 00ffffffffffff0009e55f0900000000171d0104a51c137803de50a3544c99260f505400000001010101010101010101010101010101115cd01881e02d50302036001dbe1000001aa749d01881e02d50302036001dbe1000001a000000fe00424f452043510a202020202020000000fe004e4531333546424d2d4e34310a00fb diff --git a/dot_config/autorandr/postswitch.d/nitrogen b/dot_config/autorandr/postswitch.d/nitrogen new file mode 100644 index 0000000..a253c4d --- /dev/null +++ b/dot_config/autorandr/postswitch.d/nitrogen @@ -0,0 +1 @@ +nitrogen --restore -- cgit v1.2.3