[DSiR v0.90]

- Initial import.
This commit is contained in:
2020-12-21 16:31:14 +00:00
commit 1c6132bfd5
25 changed files with 900 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
output DP1
off
output DP2
off
output DP3
off
output DP3-1
off
output DP3-2
off
output DP4
off
output VIRTUAL1
off
output eDP1
off
output DP3-3
crtc 0
mode 2560x1440
pos 0x0
primary
rate 59.95
+2
View File
@@ -0,0 +1,2 @@
DP3-3 00ffffffffffff0006b32b27010000000c1e0103803c2278ae9315ae4e46a1260e5054a5cb0081c081809500a9c0b300d1c001010101565e00a0a0a029503020350055502100001a000000fd0030901ed83c000a202020202020000000ff004c334c4d44573030353234320a000000fc005647323757510a20202020202001e4020345f34f01024e0405901213141f60615d5e5f230907078301000068030c001000182d0067d85dc401788001681a000001013090ede305e301e30f000ce60607016659289ee00078a0a032501040350055502100001ef5bd00a0a0a032502040450055502100001e589d00a0a0a029503020350055502100001e0000000028
eDP1 00ffffffffffff004d10f91400000000151e0104a51d12780ede50a3544c99260f505400000001010101010101010101010101010101283c80a070b023403020360020b410000018203080a070b023403020360020b410000018000000fe0056564b3859804c513133344e31000000000002410332001200000a010a20200080
+23
View File
@@ -0,0 +1,23 @@
output DP1
off
output DP2
off
output DP3
off
output DP3-1
off
output DP3-2
off
output DP3-3
off
output DP4
off
output VIRTUAL1
off
output eDP1
crtc 0
gamma 1.0:1.01:1.124
mode 1920x1200
pos 0x0
primary
rate 59.95
+1
View File
@@ -0,0 +1 @@
eDP1 00ffffffffffff004d10f91400000000151e0104a51d12780ede50a3544c99260f505400000001010101010101010101010101010101283c80a070b023403020360020b410000018203080a070b023403020360020b410000018000000fe0056564b3859804c513133344e31000000000002410332001200000a010a20200080
+26
View File
@@ -0,0 +1,26 @@
output DP1
off
output DP2
off
output DP3
off
output DP3-1
off
output DP3-2
off
output DP4
off
output VIRTUAL1
off
output eDP1
crtc 1
gamma 1.0:1.0:1.124
mode 1920x1200
pos 0x0
rate 59.95
output DP3-3
crtc 0
mode 2560x1440
pos 1920x0
primary
rate 59.95
+2
View File
@@ -0,0 +1,2 @@
DP3-3 00ffffffffffff0006b32b27010000000c1e0103803c2278ae9315ae4e46a1260e5054a5cb0081c081809500a9c0b300d1c001010101565e00a0a0a029503020350055502100001a000000fd0030901ed83c000a202020202020000000ff004c334c4d44573030353234320a000000fc005647323757510a20202020202001e4020345f34f01024e0405901213141f60615d5e5f230907078301000068030c001000182d0067d85dc401788001681a000001013090ede305e301e30f000ce60607016659289ee00078a0a032501040350055502100001ef5bd00a0a0a032502040450055502100001e589d00a0a0a029503020350055502100001e0000000028
eDP1 00ffffffffffff004d10f91400000000151e0104a51d12780ede50a3544c99260f505400000001010101010101010101010101010101283c80a070b023403020360020b410000018203080a070b023403020360020b410000018000000fe0056564b3859804c513133344e31000000000002410332001200000a010a20200080
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
/bin/sleep 5
if [[ $(autorandr --current) = "mobile" ]]; then
pacmd set-default-source alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source
pacmd set-default-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
/bin/sleep 2 && pulseeffects --load-preset "Test" --bypass 2 > /dev/null 2>&1
# pulseaudio-ctl set 50%
notify-send "Autorandr" "Mobile Mode"
elif [[ $(autorandr --current) = "docked" ]]; then
pacmd set-default-source alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source
pacmd set-default-sink alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink
/bin/sleep 2 && pulseeffects --bypass 1 > /dev/null 2>&1
pulseaudio-ctl set 100%
notify-send "Autorandr" "Docked Mode"
fi
pkill xiccd && xiccd &