I've got a few additional layouts in my system. XMonad and Firefox shortcuts don't work at all until switching to the US. I was struggling to add a context to the batch process:
> cat run_firefox.sh#!/bin/bashCURRENT_LAYOUT=$(setxkbmap -query | grep layout | awk '{print $2}')setxkbmap usfirefoxsetxkbmap $CURRENT_LAYOUTBut it still doesn't work.
XMonad shortcuts Ctrl + Alt + ... and Shift + Alt + ... works well with any layout (if I understood correctly, because under the corresponding hotkeys I use functions from XMonad libraries).
XMonad shortcuts Alt + ... (for instance, standard dmenu run shortcut) don't work.
So, the question is how to run XMonad shortcuts that start with combinations of Alt + ... and applications with US layout in the context?
Or, generally, how I can manage it?