commit
4f526d597b
1 changed files with 2 additions and 2 deletions
4
hidpi.sh
4
hidpi.sh
|
@ -102,7 +102,7 @@ function get_edid() {
|
|||
let index++
|
||||
MonitorName=("$(echo ${display:190:24} | xxd -p -r)")
|
||||
VendorID=${display:16:4}
|
||||
ProductID=${gMonitor:22:2}${gMonitor:20:2}
|
||||
ProductID=${display:22:2}${display:20:2}
|
||||
|
||||
if [[ ${VendorID} == 0610 ]]; then
|
||||
MonitorName="Apple Display"
|
||||
|
@ -197,7 +197,7 @@ function get_edid() {
|
|||
echo '------------------------------------'
|
||||
for display in "${gDisplayInf[@]}"; do
|
||||
let index++
|
||||
printf " %d | ${display:16:4} | ${gMonitor:22:2}${gMonitor:20:2}\n" $index
|
||||
printf " %d | ${display:16:4} | ${display:22:2}${display:20:2}\n" $index
|
||||
done
|
||||
echo '------------------------------------'
|
||||
read -p "Choose the display: " selection
|
||||
|
|
Loading…
Reference in a new issue