aboutsummaryrefslogtreecommitdiff
path: root/src/check_docked.sh
blob: 81019dcb80c74942fecf2de4da4127a1c171e257 (plain)
1
2
3
#!/usr/bin/env zsh

lsusb | grep -q "ThinkPad Ultra Dock" && echo docked || echo undocked