On Thu, Dec 24, 2020 at 06:05:12AM -0800, DDuser <
rkpa...@gmail.com> wrote:
> Hello:
>
> I am not a programmer but use Karabiner with some tweaks to improve my
> workflow
> I adapted a complex modification (Post f11 if Spacebar is held down) as
> below to help my workflow but I wan't to confine to one app only
>
> No matter what I try, I can't get it to work, I think it's the syntax
>
> Bundle Identifier: com.citrix.receiver.icaviewer.mac
>
> File Path: /Library/Application Support/Citrix Receiver/Citrix
> Viewer.app/Contents/MacOS/Citrix Viewer
>
>
> How do I add this to the file to make it work?
> Can anyone help
> Thank you
> Much appreciated
Hi, You can restrict manipulators to specific programs.
At the same level as "from", "to", and "type", you can
have a "conditions" item that, among other things,
resticts the manipulator to only applying when a
particular program is frontmost. e.g.:
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [ "^org\\.macosforge\\.xquartz\\.X11$" ]
}
],
To find out what needs to go into the "bundle_identifiers" list,
run the Karabiner-EventViewer app, click on the "Frontmost Application"
tab, then switch to the app whose bundle identifer you need to know,
and it will appear in the window.
cheers,
raf