diff options
Diffstat (limited to 'src/check_docked.sh')
| -rwxr-xr-x | src/check_docked.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/check_docked.sh b/src/check_docked.sh new file mode 100755 index 0000000..81019dc --- /dev/null +++ b/src/check_docked.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +lsusb | grep -q "ThinkPad Ultra Dock" && echo docked || echo undocked |
