I have recently switched to a keyboard with a particular layout, and I'd like to setup a system-wide keyboard shortcut to display an image overlay on the screen while pressed. This image would be a reminder of the keyboard setup.
I've found a few apps that allow for displaying an overlay over the screen, but I'm looking for something that can be toggled on and off at the press of a key.
Best Answer
I ended up using Karabiner as suggested by CJK, with the following custom script which I placed under
~/.config/karabiner/assets/complex_modifications/custom.json
. Just replaceAppName
with the name of your app and the"from"
keybind to your preferred combination. The format is described here.Then, inside of Karabiner-Elements, in the "Complex Modifications" tab, click on the "Add rule" button, then enable your custom rule (in my case, the application I want to toggle is Helium).