{"action":"created","issue":{"url":"https://api.github.com/repos/baskerville/sxhkd/issues/115","repository_url":"https://api.github.com/repos/baskerville/sxhkd","labels_url":"https://api.github.com/repos/baskerville/sxhkd/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/baskerville/sxhkd/issues/115/comments","events_url":"https://api.github.com/repos/baskerville/sxhkd/issues/115/events","html_url":"https://github.com/baskerville/sxhkd/issues/115","id":316565320,"number":115,"title":"Runtime rebinding of keys","user":{"login":"Jackojc","id":4932816,"avatar_url":"https://avatars1.githubusercontent.com/u/4932816?v=4","gravatar_id":"","url":"https://api.github.com/users/Jackojc","html_url":"https://github.com/Jackojc","followers_url":"https://api.github.com/users/Jackojc/followers","following_url":"https://api.github.com/users/Jackojc/following{/other_user}","gists_url":"https://api.github.com/users/Jackojc/gists{/gist_id}","starred_url":"https://api.github.com/users/Jackojc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jackojc/subscriptions","organizations_url":"https://api.github.com/users/Jackojc/orgs","repos_url":"https://api.github.com/users/Jackojc/repos","events_url":"https://api.github.com/users/Jackojc/events{/privacy}","received_events_url":"https://api.github.com/users/Jackojc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-22T09:55:27Z","updated_at":"2018-04-28T18:44:15Z","closed_at":"2018-04-28T18:44:15Z","author_association":"NONE","body":"Hello, I'm wondering if there is any way to dynamically rebind _specific_ keys in sxhkd. I'm trying to achieve the following: \r\n```\r\nsuper + shift + space\r\n    bspc node -t floating\r\n    # rebind the key here to the next snippet...\r\n```\r\n\r\n```\r\nsuper + shift + space\r\n    bspc node -t tiled\r\n    # set the original binding in the snippet above...\r\n```\r\n\r\nAs I've explored so far, there doesn't seem to be any way to do this without defining two seperate _full_ configs with just _one_ binding different _or_ altering the same config file and then telling sxhkd to reload the config `pkill -USR1 sxhkd`."},"comment":{"url":"https://api.github.com/repos/baskerville/sxhkd/issues/comments/385197516","html_url":"https://github.com/baskerville/sxhkd/issues/115#issuecomment-385197516","issue_url":"https://api.github.com/repos/baskerville/sxhkd/issues/115","id":385197516,"user":{"login":"baskerville","id":159419,"avatar_url":"https://avatars2.githubusercontent.com/u/159419?v=4","gravatar_id":"","url":"https://api.github.com/users/baskerville","html_url":"https://github.com/baskerville","followers_url":"https://api.github.com/users/baskerville/followers","following_url":"https://api.github.com/users/baskerville/following{/other_user}","gists_url":"https://api.github.com/users/baskerville/gists{/gist_id}","starred_url":"https://api.github.com/users/baskerville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baskerville/subscriptions","organizations_url":"https://api.github.com/users/baskerville/orgs","repos_url":"https://api.github.com/users/baskerville/repos","events_url":"https://api.github.com/users/baskerville/events{/privacy}","received_events_url":"https://api.github.com/users/baskerville/received_events","type":"User","site_admin":false},"created_at":"2018-04-28T18:44:15Z","updated_at":"2018-04-28T18:44:15Z","author_association":"OWNER","body":"This will also work:\r\n```\r\nsuper + shift + space\r\n\tbspc node -t {tiled,floating}\r\n```\r\n\r\nYou might want to have a look at the examples given in the README, the last one is:\r\n```\r\nsuper + alt + p\r\n\tbspc config focus_follows_pointer {true,false}\r\n```\r\n"}}
{"actor":{"display_login":"baskerville"}}