Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Issue with "frontmost_application_if" condition #867

Open
padraic00 opened this issue Jun 2, 2018 · 0 comments
Open

Issue with "frontmost_application_if" condition #867

padraic00 opened this issue Jun 2, 2018 · 0 comments

Comments

@padraic00
Copy link

Hi,

I have a mac and would like to swap the functionality of fn and left_control only when using GUI Emacs or iTerm2. I've attached the list of rules under complex modifications.

Is there anywhere else I should be looking for failing complex modifications?

"rules": [
                    {
                        "conditions": [
                            {
                                "bundle_identifiers": [
                                    "^org\\.gnu\\.Emacs$",
                                    "^com\\.googlecode\\.iterm2$"
                                ],
                                "type": "frontmost_application_if"
                            }
                        ],
                        "from": {
                            "key_code": "left_control"
                        },
                        "to": {
                            "key_code": "fn"
                        },
                        "type": "basic"
                    },
                    {
                        "conditions": [
                            {
                                "bundle_identifiers": [
                                    "^org\\.gnu\\.Emacs$",
                                    "^com\\.googlecode\\.iterm2$"
                                ],
                                "type": "frontmost_application_if"
                            }
                        ],
                        "from": {
                            "key_code": "fn"
                        },
                        "to": {
                            "key_code": "left_control"
                        },
                        "type": "basic"
                    }
                ]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant