summary refs log tree commit diff stats
path: root/user/autorandr
diff options
context:
space:
mode:
authorAlan Pearce2019-10-02 16:55:23 +0200
committerAlan Pearce2019-10-02 16:55:23 +0200
commitec7f1357d16ff2f4aa7430a2940a0b9519018595 (patch)
tree28f4b022aff0ec38e7891ec677703a074dfd89f8 /user/autorandr
parent8a65ab00b625139984aeb6c3a1a93f8bc9d3fc85 (diff)
parenta261579a74bc3bf9ec673ef190f1ec4bb625b86b (diff)
downloadnixfiles-ec7f1357d16ff2f4aa7430a2940a0b9519018595.tar.lz
nixfiles-ec7f1357d16ff2f4aa7430a2940a0b9519018595.tar.zst
nixfiles-ec7f1357d16ff2f4aa7430a2940a0b9519018595.zip
Add 'user/' from commit 'a261579a74bc3bf9ec673ef190f1ec4bb625b86b'
git-subtree-dir: user
git-subtree-mainline: 8a65ab00b625139984aeb6c3a1a93f8bc9d3fc85
git-subtree-split: a261579a74bc3bf9ec673ef190f1ec4bb625b86b
Diffstat (limited to 'user/autorandr')
-rwxr-xr-xuser/autorandr/.config/autorandr/docked-close/block3
-rw-r--r--user/autorandr/.config/autorandr/docked-close/config23
-rw-r--r--user/autorandr/.config/autorandr/docked-close/setup3
-rwxr-xr-xuser/autorandr/.config/autorandr/docked-open/block3
-rw-r--r--user/autorandr/.config/autorandr/docked-open/config25
-rw-r--r--user/autorandr/.config/autorandr/docked-open/setup3
-rw-r--r--user/autorandr/.config/autorandr/laptop/config15
-rw-r--r--user/autorandr/.config/autorandr/laptop/setup1
-rwxr-xr-xuser/autorandr/.config/autorandr/postswitch2
-rw-r--r--user/autorandr/.config/autorandr/work-1/config17
-rw-r--r--user/autorandr/.config/autorandr/work-1/setup2
11 files changed, 97 insertions, 0 deletions
diff --git a/user/autorandr/.config/autorandr/docked-close/block b/user/autorandr/.config/autorandr/docked-close/block
new file mode 100755
index 00000000..782c3a74
--- /dev/null
+++ b/user/autorandr/.config/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/user/autorandr/.config/autorandr/docked-close/config b/user/autorandr/.config/autorandr/docked-close/config
new file mode 100644
index 00000000..d8ce5031
--- /dev/null
+++ b/user/autorandr/.config/autorandr/docked-close/config
@@ -0,0 +1,23 @@
+output DP1
+off
+output DP2
+off
+output DP2-3
+off
+output HDMI1
+off
+output HDMI2
+off
+output VIRTUAL1
+off
+output eDP1
+off
+output DP2-1
+mode 2560x1440
+pos 0x0
+primary
+rate 59.95
+output DP2-2
+mode 2560x1440
+pos 2560x0
+rate 59.95
diff --git a/user/autorandr/.config/autorandr/docked-close/setup b/user/autorandr/.config/autorandr/docked-close/setup
new file mode 100644
index 00000000..607eacbc
--- /dev/null
+++ b/user/autorandr/.config/autorandr/docked-close/setup
@@ -0,0 +1,3 @@
+DP2-1 00ffffffffffff0030aeaf61010101011c1c0104a53c22783e9325a9544d9e250c5054a1080081809500b300d1c0d100a9c001010101565e00a0a0a029503020350055502100001a023a801871382d40582c450055502100001e000000fd00324c1e7822000a202020202020000000fc004c454e20503237682d31300a20010d02031df14a01020304051413901f12230907078301000065030c001000011d007251d01e206e28550055502100001e8c0ad08a20e02d10103e96005550210000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bd
+DP2-2 00ffffffffffff0030aeaf61010101010a1c0104a53c22783e9325a9544d9e250c5054a1080081809500b300d1c0d100a9c001010101565e00a0a0a029503020350055502100001a023a801871382d40582c450055502100001e000000fd00324c1e7822000a202020202020000000fc004c454e20503237682d31300a20011f02031df14a01020304051413901f12230907078301000065030c001000011d007251d01e206e28550055502100001e8c0ad08a20e02d10103e96005550210000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bd
+eDP1 00ffffffffffff0006af3d2400000000001a0104951f117802a2b591575894281c505400000001010101010101010101010101010101843a8034713828403064310035ad10000018d02e8034713828403064310035ad10000018000000fe0041554f0a202020202020202020000000fe004231343048414e30322e34200a00e4
diff --git a/user/autorandr/.config/autorandr/docked-open/block b/user/autorandr/.config/autorandr/docked-open/block
new file mode 100755
index 00000000..4c82692a
--- /dev/null
+++ b/user/autorandr/.config/autorandr/docked-open/block
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec grep -vq open /proc/acpi/button/lid/LID/state
\ No newline at end of file
diff --git a/user/autorandr/.config/autorandr/docked-open/config b/user/autorandr/.config/autorandr/docked-open/config
new file mode 100644
index 00000000..44749be1
--- /dev/null
+++ b/user/autorandr/.config/autorandr/docked-open/config
@@ -0,0 +1,25 @@
+output DP1
+off
+output DP2
+off
+output DP2-3
+off
+output HDMI1
+off
+output HDMI2
+off
+output VIRTUAL1
+off
+output DP2-1
+mode 2560x1440
+pos 0x0
+primary
+rate 59.95
+output DP2-2
+mode 2560x1440
+pos 2560x0
+rate 59.95
+output eDP1
+mode 1920x1080
+pos 1632x1440
+rate 60.03
diff --git a/user/autorandr/.config/autorandr/docked-open/setup b/user/autorandr/.config/autorandr/docked-open/setup
new file mode 100644
index 00000000..607eacbc
--- /dev/null
+++ b/user/autorandr/.config/autorandr/docked-open/setup
@@ -0,0 +1,3 @@
+DP2-1 00ffffffffffff0030aeaf61010101011c1c0104a53c22783e9325a9544d9e250c5054a1080081809500b300d1c0d100a9c001010101565e00a0a0a029503020350055502100001a023a801871382d40582c450055502100001e000000fd00324c1e7822000a202020202020000000fc004c454e20503237682d31300a20010d02031df14a01020304051413901f12230907078301000065030c001000011d007251d01e206e28550055502100001e8c0ad08a20e02d10103e96005550210000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bd
+DP2-2 00ffffffffffff0030aeaf61010101010a1c0104a53c22783e9325a9544d9e250c5054a1080081809500b300d1c0d100a9c001010101565e00a0a0a029503020350055502100001a023a801871382d40582c450055502100001e000000fd00324c1e7822000a202020202020000000fc004c454e20503237682d31300a20011f02031df14a01020304051413901f12230907078301000065030c001000011d007251d01e206e28550055502100001e8c0ad08a20e02d10103e96005550210000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bd
+eDP1 00ffffffffffff0006af3d2400000000001a0104951f117802a2b591575894281c505400000001010101010101010101010101010101843a8034713828403064310035ad10000018d02e8034713828403064310035ad10000018000000fe0041554f0a202020202020202020000000fe004231343048414e30322e34200a00e4
diff --git a/user/autorandr/.config/autorandr/laptop/config b/user/autorandr/.config/autorandr/laptop/config
new file mode 100644
index 00000000..152d1b95
--- /dev/null
+++ b/user/autorandr/.config/autorandr/laptop/config
@@ -0,0 +1,15 @@
+output DP1
+off
+output DP2
+off
+output HDMI1
+off
+output HDMI2
+off
+output VIRTUAL1
+off
+output eDP1
+mode 1920x1080
+pos 0x0
+primary
+rate 60.03
diff --git a/user/autorandr/.config/autorandr/laptop/setup b/user/autorandr/.config/autorandr/laptop/setup
new file mode 100644
index 00000000..dc17ff13
--- /dev/null
+++ b/user/autorandr/.config/autorandr/laptop/setup
@@ -0,0 +1 @@
+eDP1 00ffffffffffff0006af3d2400000000001a0104951f117802a2b591575894281c505400000001010101010101010101010101010101843a8034713828403064310035ad10000018d02e8034713828403064310035ad10000018000000fe0041554f0a202020202020202020000000fe004231343048414e30322e34200a00e4
diff --git a/user/autorandr/.config/autorandr/postswitch b/user/autorandr/.config/autorandr/postswitch
new file mode 100755
index 00000000..25b068d2
--- /dev/null
+++ b/user/autorandr/.config/autorandr/postswitch
@@ -0,0 +1,2 @@
+#!/bin/sh
+notify-send --expire-time=5000 "Display profile: '$AUTORANDR_CURRENT_PROFILE'"
diff --git a/user/autorandr/.config/autorandr/work-1/config b/user/autorandr/.config/autorandr/work-1/config
new file mode 100644
index 00000000..834278c8
--- /dev/null
+++ b/user/autorandr/.config/autorandr/work-1/config
@@ -0,0 +1,17 @@
+output DP1
+off
+output DP2
+off
+output HDMI1
+off
+output VIRTUAL1
+off
+output HDMI2
+mode 1920x1200
+pos 0x0
+primary
+rate 59.95
+output eDP1
+mode 1920x1080
+pos 1920x0
+rate 60.03
diff --git a/user/autorandr/.config/autorandr/work-1/setup b/user/autorandr/.config/autorandr/work-1/setup
new file mode 100644
index 00000000..12a4c698
--- /dev/null
+++ b/user/autorandr/.config/autorandr/work-1/setup
@@ -0,0 +1,2 @@
+HDMI2 00ffffffffffff0015c33425b1a21403041b010380342178ea0495a9554d9d26105054a10800a9408180b300a9c081c0810001010101283c80a070b023403020360007442100001a023a801871382d40582c450007442100001e000000fd00313d0f4c11000a202020202020000000fc004556323435350a202020202020011e020325f14e901f051404130312021107160615230907078301000066030c00100080e2007b011d8018711c1620582c250007442100009e011d80d0721c1620102c258007442100009e8c0ad08a20e02d10103e96000744210000188c0ad090204031200c4055000744210000180000000000000000000000000000000000008e
+eDP1 00ffffffffffff0006af3d2400000000001a0104951f117802a2b591575894281c505400000001010101010101010101010101010101843a8034713828403064310035ad10000018d02e8034713828403064310035ad10000018000000fe0041554f0a202020202020202020000000fe004231343048414e30322e34200a00e4