feat(display): add positioning to center with "middle" subcommand
This commit is contained in:
parent
b2ee639479
commit
72ab769aa6
1 changed files with 2 additions and 2 deletions
|
@ -33,11 +33,11 @@ function main() {
|
||||||
echo "Setting dual display left"
|
echo "Setting dual display left"
|
||||||
xrandr --output "$extern" --primary --auto --right-of "$intern" --output "$intern" --mode 1680x1050
|
xrandr --output "$extern" --primary --auto --right-of "$intern" --output "$intern" --mode 1680x1050
|
||||||
;;
|
;;
|
||||||
"center")
|
"center"|"middle")
|
||||||
echo "Setting dual display center"
|
echo "Setting dual display center"
|
||||||
xrandr \
|
xrandr \
|
||||||
--output "$extern" --auto --above "$intern" \
|
--output "$extern" --auto --above "$intern" \
|
||||||
--output "$intern" --primary --auto
|
--output "$intern" --primary --mode 1680x1050
|
||||||
;;
|
;;
|
||||||
"ultra")
|
"ultra")
|
||||||
echo "Setting single display mode (ultrawide)"
|
echo "Setting single display mode (ultrawide)"
|
||||||
|
|
Loading…
Reference in a new issue