Install and setup ydotool on sway on Fedora
The ydotool is a kind of Wayland version of the xdotool
.
How to install
Install the ydotool RPM package.
$ sudo dnf install ydotool $ rpm -q ydotool ydotool-1.0.4-1.fc38.x86_64
Enable and start the daemon.
$ sudo systemctl enable ydotool $ sudo systemctl start ydotool
How to use
I am using the ydotool a lot in the sway config. You can check my sway config.