An open API service indexing awesome lists of open source software.

https://github.com/lunauii/skipop

Recursive right button macro for Linux
https://github.com/lunauii/skipop

bash bash-script linux macro shell shell-script wayland xorg

Last synced: 2 months ago
JSON representation

Recursive right button macro for Linux

Awesome Lists containing this project

README

          

# skipop.sh
Generic right button mash script for Linux.

If for some reason you need to consistently press the right arrow key button a specific amount of times, this bash script is for you!

## Usage
Clone this repository into a directory of your choosing and make the script executable (`chmod a+x /path/to/skipop.sh`).
Then you can run it using `/path/to/skipop.sh []`

> `` *(optional)*: **The amount of times the right arrow key is pressed.** If no value is passed, the default is `18`.

### Examples
`skipop.sh` - presses right 18 times \
`skipop.sh 27` - presses right 27 times \
`skipop.sh 3` - presses right 3 times

## Dependencies
**If running Wayland**: `ydotool`

**If running Xorg**: `xdotool`

If you don't know what display server you have and you're missing a dependency, `skipop.sh` will automatically tell you which dependency you need if you run the script.

## Future Plans
* Option for any key, not just the right arrow
* PKGBUILD for AUR
* Miscellaneous optimizations to the script