xkb-switch

Switch your X keyboard

Fedora
RUN dnf install -y xkb-switch
click the source code to copy install xkb-switch on any operating system with command-not-found.com