浏览代码

~/.bin/select-display: Always use --primary

Lu Stadler 7 年之前
父节点
当前提交
f108e52220
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .bin/select-display

+ 2 - 2
.bin/select-display

@ -28,10 +28,10 @@ case "$display" in
28 28
		xrandr --auto
29 29
		;;
30 30
	LVDS1)
31
		xrandr --output LVDS1 --mode 1366x768 --output DP1 --off
31
		xrandr --output LVDS1 --mode 1366x768 --primary --output DP1 --off
32 32
		;;
33 33
	DP1)
34
		xrandr --output LVDS1 --off           --output DP1 --mode 2560x1440
34
		xrandr --output LVDS1 --off           --output DP1 --primary --mode 2560x1440
35 35
		;;
36 36
	*)
37 37
		xrandr --output LVDS1 --off           --output "$display" --primary --auto