diff options
author | Alan Pearce | 2019-10-15 19:27:02 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-16 19:27:33 +0200 |
commit | 4de959a979b253ecc846b01330b407468e9bedc0 (patch) | |
tree | 36863947a003495b0b3aef71b6dd553973fd9d5e /system/autorandr/docked-close | |
parent | f54cbbbdb371148f89a7551f93158f0c552326da (diff) | |
download | nixfiles-4de959a979b253ecc846b01330b407468e9bedc0.tar.lz nixfiles-4de959a979b253ecc846b01330b407468e9bedc0.tar.zst nixfiles-4de959a979b253ecc846b01330b407468e9bedc0.zip |
Move autorandr to system
Diffstat (limited to 'system/autorandr/docked-close')
-rwxr-xr-x | system/autorandr/docked-close/block | 3 | ||||
-rw-r--r-- | system/autorandr/docked-close/config | 20 | ||||
-rw-r--r-- | system/autorandr/docked-close/setup | 3 |
3 files changed, 26 insertions, 0 deletions
diff --git a/system/autorandr/docked-close/block b/system/autorandr/docked-close/block new file mode 100755 index 00000000..782c3a74 --- /dev/null +++ b/system/autorandr/docked-close/block @@ -0,0 +1,3 @@ +#!/bin/sh + +exec grep -vq close /proc/acpi/button/lid/LID/state \ No newline at end of file diff --git a/system/autorandr/docked-close/config b/system/autorandr/docked-close/config new file mode 100644 index 00000000..1f4ebdb1 --- /dev/null +++ b/system/autorandr/docked-close/config @@ -0,0 +1,20 @@ +output DP-1 +off +output HDMI-1 +off +output DP-2 +off +output HDMI-2 +off +output DP-2-3 +off +output eDP-1 +off +output DP-2-1 +mode 2560x1440 +pos 1920x0 +rate 59.95 +output DP-2-2 +mode 2560x1440 +pos 4480x0 +rate 59.95 diff --git a/system/autorandr/docked-close/setup b/system/autorandr/docked-close/setup new file mode 100644 index 00000000..607eacbc --- /dev/null +++ b/system/autorandr/docked-close/setup @@ -0,0 +1,3 @@ +DP2-1 00ffffffffffff0030aeaf61010101011c1c0104a53c22783e9325a9544d9e250c5054a1080081809500b300d1c0d100a9c001010101565e00a0a0a029503020350055502100001a023a801871382d40582c450055502100001e000000fd00324c1e7822000a202020202020000000fc004c454e20503237682d31300a20010d02031df14a01020304051413901f12230907078301000065030c001000011d007251d01e206e28550055502100001e8c0ad08a20e02d10103e96005550210000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bd +DP2-2 00ffffffffffff0030aeaf61010101010a1c0104a53c22783e9325a9544d9e250c5054a1080081809500b300d1c0d100a9c001010101565e00a0a0a029503020350055502100001a023a801871382d40582c450055502100001e000000fd00324c1e7822000a202020202020000000fc004c454e20503237682d31300a20011f02031df14a01020304051413901f12230907078301000065030c001000011d007251d01e206e28550055502100001e8c0ad08a20e02d10103e96005550210000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bd +eDP1 00ffffffffffff0006af3d2400000000001a0104951f117802a2b591575894281c505400000001010101010101010101010101010101843a8034713828403064310035ad10000018d02e8034713828403064310035ad10000018000000fe0041554f0a202020202020202020000000fe004231343048414e30322e34200a00e4 |