Update 2023-04-12 18:15 OpenBSD/amd64

This commit is contained in:
c0dev0id 2023-04-12 18:15:49 +02:00
parent a180346869
commit 7a52d27b37
9 changed files with 78 additions and 0 deletions

3
.bin/dexec_audio Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
. $HOME/.bin/_config
sndioctl -q server.device=$(setaudio | $DMENU_CMD -p "Device" -l 10 | cut -b3)

3
.bin/xpick_copy Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
xpick -h | tr -d '\n' | xclip
notify-send "$(xclip -o)"

View File

@ -0,0 +1,12 @@
output HDMI-A-0
off
output DisplayPort-0
off
output DisplayPort-1
off
output eDP
crtc 0
mode 1920x1080
pos 0x0
primary
rate 60.03

View File

@ -0,0 +1 @@
eDP 00ffffffffffff0006af2d5a00000000001c0104a51d117802ee95a3544c99260f505400000001010101010101010101010101010101b43780a070383e403a2a350025a5100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231333348414e30352e41200a0070

21
.config/autorandr/postswitch Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
notify-send -i display "Display profile" "$AUTORANDR_CURRENT_PROFILE"
if [ "$AUTORANDR_CURRENT_PROFILE" == "workstation" ];
then
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
fi
if [ "$AUTORANDR_CURRENT_PROFILE" == "workstation2" ];
then
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
fi
if [ "$AUTORANDR_CURRENT_PROFILE" == "mobile" ];
then
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.4
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.2
fi

View File

@ -0,0 +1,17 @@
output HDMI-A-0
off
output DisplayPort-0
off
output DisplayPort-1
off
output DisplayPort-3
off
output DisplayPort-4
off
output eDP
off
output DisplayPort-2
crtc 1
mode 3840x2160
pos 0x0
rate 60.00

View File

@ -0,0 +1,2 @@
DisplayPort-2 00ffffffffffff0010acb1414c355441111e0103803c2278eeee95a3544c99260f5054a54b00e1c0d100d1c0b300a94081808100714f08e80030f2705a80b0588a0055502100001e000000ff00315456525731330a2020202020000000fc0044454c4c205532373230510a20000000fd00184b1e8c3c000a2020202020200176020358f15261605f5e5d101f05140413121103020706016d030c001400183c20006001020367d85dc401788001e20f03e305ff01e6060701605628834f0000380f7f0715075035063c3e1ec04d02005706005f7e01677e00565e00a0a0a029503020350055502100001a114400a0800025503020360055502100001a000000af
eDP 00ffffffffffff0006af2d5a00000000001c0104a51d117802ee95a3544c99260f505400000001010101010101010101010101010101b43780a070383e403a2a350025a5100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231333348414e30352e41200a0070

View File

@ -0,0 +1,17 @@
output HDMI-A-0
off
output DisplayPort-0
off
output DisplayPort-1
off
output DisplayPort-3
off
output DisplayPort-4
off
output eDP
off
output DisplayPort-2
crtc 1
mode 3840x2160
pos 0x0
rate 60.00

View File

@ -0,0 +1,2 @@
DisplayPort-2 00ffffffffffff002685646601010101011b0103803c2278eeee95a3544c99260f50542000000101010101010101010101010101010108e80030f2705a80b0588a0055502100001e023a801871382d40582c4500ba882100001e000000fc004844205056522050726f203630000000fd00184b1e8c3c000a2020202020200133020332f04f60611304051f100103020706111214230907078301000067030c001000003ce200fb67d85dc401788001e20f03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000089
eDP 00ffffffffffff0006af2d5a00000000001c0104a51d117802ee95a3544c99260f505400000001010101010101010101010101010101b43780a070383e403a2a350025a5100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231333348414e30352e41200a0070