Created
September 25, 2019 00:00
-
-
Save redaphid/3212fdf13b8f31e5373bbaea1e69c5ca to your computer and use it in GitHub Desktop.
find windows by name for yabai
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
eval "yabai -m query --windows | jq '.[] | {id, app} | select(.app == \"${1}\") | .id'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment