This file contains hidden or 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 | |
| # requires xdotool and xsel | |
| # finds kodi window, activates it then types whatever xsel tells us is in the clipboard | |
| xdotool search --class kodi windowactivate --sync type $(xsel --clipboard) |