I want a script to run when I press a keyboard shortcut, but only if I’m using a specific keyboard layout (I have 4 installed).
I figured the easiest way to do this was with the keyboard layout environment variable (provided there is one), but I couldn’t find anything of the sort.
Any help is welcome. I’m open to other ideas, I just thought this would be easiest.
@a(ss) []
back when I run this. I also need it in a variable, so I can use it in a script. I’m running Zorin OS 15.3, I don’t know what version of Ubuntu it’s based in. – Rowan Ackerman Feb 08 '21 at 12:27