mirror of https://gitlab.com/dabruh/dotfiles.git
Add additional monitor name configurations
This commit is contained in:
parent
7128f6c74e
commit
a71430f12e
|
@ -363,7 +363,13 @@ main() {
|
|||
profile_found=true
|
||||
fi
|
||||
|
||||
monitor_array=(DP-3-3 eDP-1 DP-3-1)
|
||||
monitors=(
|
||||
"DP-3-3,eDP-1,DP-3-1"
|
||||
"DP-1-3,eDP-1,DP-1-1"
|
||||
)
|
||||
|
||||
for monitor in "${monitors[@]}"; do
|
||||
IFS=',' read -r -a monitor_array <<<"$monitor"
|
||||
if monitors_exist "${monitor_array[@]}" >/dev/null; then
|
||||
xrandr \
|
||||
--output "${monitor_array[0]}" --mode 3440x1440 --pos 0x480 --rotate normal \
|
||||
|
@ -371,6 +377,7 @@ main() {
|
|||
--output "${monitor_array[2]}" --mode 1920x1200 --pos 5360x0 --rotate right
|
||||
profile_found=true
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if ! "$profile_found"; then
|
||||
|
|
Loading…
Reference in New Issue