fix caldigit hub name

main
Alpha Chen 2 years ago
parent 2a6f7baf76
commit 0cb65b0d84
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -18,7 +18,7 @@
(fn docked? []
(accumulate [docked? false _ v (pairs (usb.attachedDevices)) &until docked?]
(or docked? (= v.productName "CalDigit Thunderbolt 3 Audio"))))
(or docked? (= v.productName "TS4 USB3.2 Gen2 HUB"))))
(local watcher (let [{: watcher} caffeinate
w (watcher.new #(when (docked?)

Loading…
Cancel
Save