[bin] Add helper script to determine if we're docked or not

This commit is contained in:
Sebastian Schulze 2023-01-26 21:36:03 +01:00
parent 2c9d84d5a2
commit ac3420d65b
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
exec swaymsg -t get_inputs | grep -E "ErgoDox EZ|Planck EZ" > /dev/null