hello
i’m looking for a way to keep my x11 and wayland/plasma layouts in sync through a script, but i’m unable to find any documentation or response on the internet that tells me how i can get the current keyboard layout from the terminal.
setxkbmap or anything X related is not possible as i use wayland
i need that info cause i’m making a daemon that will check the current keymap selected in KDE and apply it with setxkbmap so that stuff that uses X11 and XWayland will use the current layout