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"
|
||||
xrandr --output "$extern" --primary --auto --right-of "$intern" --output "$intern" --mode 1680x1050
|
||||
;;
|
||||
"center")
|
||||
"center"|"middle")
|
||||
echo "Setting dual display center"
|
||||
xrandr \
|
||||
--output "$extern" --auto --above "$intern" \
|
||||
--output "$intern" --primary --auto
|
||||
--output "$intern" --primary --mode 1680x1050
|
||||
;;
|
||||
"ultra")
|
||||
echo "Setting single display mode (ultrawide)"
|
||||
|
|
Loading…
Reference in a new issue