Gebruik autorandr voor docking/undocking.
authorFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Thu, 4 Apr 2024 07:07:26 +0000 (15:07 +0800)
committerFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Thu, 4 Apr 2024 07:07:26 +0000 (15:07 +0800)
autorandr/.config/autorandr/docked/config [new file with mode: 0644]
autorandr/.config/autorandr/docked/setup [new file with mode: 0644]
autorandr/.config/autorandr/mobile/config [new file with mode: 0644]
autorandr/.config/autorandr/mobile/setup [new file with mode: 0644]
autorandr/.config/autorandr/postswitch [new file with mode: 0755]

diff --git a/autorandr/.config/autorandr/docked/config b/autorandr/.config/autorandr/docked/config
new file mode 100644 (file)
index 0000000..2eda31e
--- /dev/null
@@ -0,0 +1,34 @@
+output DP-1
+off
+output DP-2
+off
+output DP-1-1
+off
+output DP-1-2
+off
+output DP-1-3
+off
+output DP-2-1
+off
+output DP-2-3
+off
+output eDP-1
+crtc 0
+mode 1920x1080
+pos 0x0
+primary
+rate 59.96
+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 DP-2-2
+crtc 1
+mode 2560x1440
+pos 1920x0
+rate 59.95
+x-prop-audio auto
+x-prop-broadcast_rgb Automatic
+x-prop-max_bpc 12
+x-prop-non_desktop 0
diff --git a/autorandr/.config/autorandr/docked/setup b/autorandr/.config/autorandr/docked/setup
new file mode 100644 (file)
index 0000000..5e225a2
--- /dev/null
@@ -0,0 +1,2 @@
+DP-2-2 00ffffffffffff004c2d17104256423032300103803f24782ac8b5ad50449e250f5054bfef80714f810081c081809500a9c0b3000101ca2e90a0601a234030203600ffff0000001e000000fd00324b1e8721000a202020202020000000fc004c5532385235350a2020202020000000ff00484e4d4e3530303035340a20200112020335f04900120313041f10005f2309070783010000e30500006b030c001000b03c200020016700000000000000e20f81e3060501023a801871382d40582c450078682100001e023a80d072382d40102c458078682100001e04740030f2705a80b0588a0078682100001e565e00a0a0a029503020350078682100001a0000d7
+eDP-1 00ffffffffffff0030e4870500000000001a0104a51f1178eae3f5a351479c261050540000000101010101010101010101010101010160d100b4f0703e803c24350035ae1000001a000000000000000000000000000000000000000000fe004c4720446973706c61790a2020000000fe004c503133395544312d5350433100bc
diff --git a/autorandr/.config/autorandr/mobile/config b/autorandr/.config/autorandr/mobile/config
new file mode 100644 (file)
index 0000000..3c4b928
--- /dev/null
@@ -0,0 +1,21 @@
+output DP-1
+off
+output DP-2
+off
+output DP-1-1
+off
+output DP-1-2
+off
+output DP-1-3
+off
+output eDP-1
+crtc 0
+mode 1920x1080
+pos 0x0
+primary
+rate 59.96
+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/autorandr/.config/autorandr/mobile/setup b/autorandr/.config/autorandr/mobile/setup
new file mode 100644 (file)
index 0000000..61dd91f
--- /dev/null
@@ -0,0 +1 @@
+eDP-1 00ffffffffffff0030e4870500000000001a0104a51f1178eae3f5a351479c261050540000000101010101010101010101010101010160d100b4f0703e803c24350035ae1000001a000000000000000000000000000000000000000000fe004c4720446973706c61790a2020000000fe004c503133395544312d5350433100bc
diff --git a/autorandr/.config/autorandr/postswitch b/autorandr/.config/autorandr/postswitch
new file mode 100755 (executable)
index 0000000..56b5016
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+# reload feh bg script to fix up what's probably wrong after monitor switches
+exec ~/.fehbg