From: Frederik Vanrenterghem Date: Thu, 4 Apr 2024 07:07:26 +0000 (+0800) Subject: Gebruik autorandr voor docking/undocking. X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/48d2f8db34e74e192c5a407be55f7749541119b9 Gebruik autorandr voor docking/undocking. --- diff --git a/autorandr/.config/autorandr/docked/config b/autorandr/.config/autorandr/docked/config new file mode 100644 index 0000000..2eda31e --- /dev/null +++ b/autorandr/.config/autorandr/docked/config @@ -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 index 0000000..5e225a2 --- /dev/null +++ b/autorandr/.config/autorandr/docked/setup @@ -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 index 0000000..3c4b928 --- /dev/null +++ b/autorandr/.config/autorandr/mobile/config @@ -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 index 0000000..61dd91f --- /dev/null +++ b/autorandr/.config/autorandr/mobile/setup @@ -0,0 +1 @@ +eDP-1 00ffffffffffff0030e4870500000000001a0104a51f1178eae3f5a351479c261050540000000101010101010101010101010101010160d100b4f0703e803c24350035ae1000001a000000000000000000000000000000000000000000fe004c4720446973706c61790a2020000000fe004c503133395544312d5350433100bc diff --git a/autorandr/.config/autorandr/postswitch b/autorandr/.config/autorandr/postswitch new file mode 100755 index 0000000..56b5016 --- /dev/null +++ b/autorandr/.config/autorandr/postswitch @@ -0,0 +1,3 @@ +#!/bin/sh +# reload feh bg script to fix up what's probably wrong after monitor switches +exec ~/.fehbg