File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,24 @@ fix_rotation() {
2323 ffmpeg -display_rotation 0 -i " ${OLD_NAME} " -c copy " ${ARG} "
2424 done
2525}
26+
27+ monitorconf () {
28+ # Monitors:
29+ # DP-1 = VG248
30+ # DP-2 = 34GK950F
31+ # DP-3 = VE247
32+ # HDMI-A-1 = TV
33+ case " ${1} " in
34+ pc | PC)
35+ kscreen-doctor output.DP-1.enable output.DP-2.enable output.DP-3.enable output.HDMI-A-1.disable \
36+ output.DP-1.mode.1920x1080@144 output.DP-2.mode.3440x1440@144 output.DP-3.mode.1920x1080@60 \
37+ output.DP-1.position.0,180 output.DP-2.position.1920,0 output.DP-3.position.5360,180
38+ ;;
39+ tv | TV)
40+ kscreen-doctor output.DP-1.disable output.DP-2.disable output.DP-3.enable output.HDMI-A-1.enable \
41+ output.DP-3.mode.1920x1080@60 output.HDMI-A-1.mode.3840x2160@120 \
42+ output.DP-3.position.0,0 output.HDMI-A-1.position.0,0 \
43+ output.HDMI-A-1.wcg.enable output.HDMI-A-1.scale.2
44+ ;;
45+ esac
46+ }
You can’t perform that action at this time.
0 commit comments