Last active
May 30, 2023 19:08
-
-
Save mishajib/4966a472e0a4a27f5a9c28d8f5fae360 to your computer and use it in GitHub Desktop.
Window changer by xdotool in linux by bash scripts. Here automate the `alt + tab` command.
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 | |
while true; do | |
xdotool keydown alt key Tab; sleep 2; xdotool keyup alt | |
sleep 30; | |
done | |
# First need to make executable by Run this command. | |
# chmod +x file_name.sh | |
# And then run like this from folder -> ./file_name.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment