It does have generic tools (eg. xdotool -> ydotool), but the most powerful way is to configure it in the DE/WM itself (eg. KDE’s shortcuts or sway’s bind command). To know if what you are doing is possible with ydotool or on sway, I’d need more specific info.
But my point was rather that it’s cool to have such functionality in the kernel, independent of desktop stack and DE/WM.
It does have generic tools (eg. xdotool -> ydotool), but the most powerful way is to configure it in the DE/WM itself (eg. KDE’s shortcuts or sway’s bind command). To know if what you are doing is possible with ydotool or on sway, I’d need more specific info.
But my point was rather that it’s cool to have such functionality in the kernel, independent of desktop stack and DE/WM.