feat(display): do not set the resolution for the secondary monitor
This commit is contained in:
parent
6b20f8b056
commit
a7c28966f5
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ function main() {
|
||||||
echo "Setting dual display center"
|
echo "Setting dual display center"
|
||||||
xrandr \
|
xrandr \
|
||||||
--output "$main" --auto --above "$secondary" \
|
--output "$main" --auto --above "$secondary" \
|
||||||
--output "$secondary" --primary --mode 1680x1050
|
--output "$secondary" --primary
|
||||||
;;
|
;;
|
||||||
"ultra")
|
"ultra")
|
||||||
echo "Setting single display mode (ultrawide)"
|
echo "Setting single display mode (ultrawide)"
|
||||||
|
|
@ -60,7 +60,7 @@ function main() {
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Setting display to preferred size (1680x1050)"
|
echo "Setting display to preferred size (1680x1050)"
|
||||||
xrandr --output "$secondary" --output "$secondary" --mode 1680x1050
|
xrandr --output "$secondary" --output "$secondary"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
return 0
|
return 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue