From d19e5836a532969f5ffcbf3d432fa5e5bd2b5dbb Mon Sep 17 00:00:00 2001 From: RedBearAK <64876997+RedBearAK@users.noreply.github.com> Date: Wed, 28 Apr 2021 17:40:08 -0800 Subject: [PATCH 1/2] Open Firefox private window with Ctrl+Shift+N Safari and Chrome/Chromium use Ctrl+Shift+N to open private/incognito windows. Firefox for some reason wants to use Ctrl+Shift+P. This makes Firefox respond to Ctrl+Shift+N the same way as Safari and the Chromes. Ctrl+Shift+P of course still works also. No pre-existing action for Ctrl+Shift+N seems to exist in the current Firefox version. So no known conflict. --- linux/kinto.py | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/kinto.py b/linux/kinto.py index 1eb64a1..6462627 100755 --- a/linux/kinto.py +++ b/linux/kinto.py @@ -413,6 +413,7 @@ define_keymap(re.compile("Firefox", re.IGNORECASE),{ K("Shift-SEMICOLON"),K("p"),K("r"),K("e"),K("f"), K("e"),K("r"),K("e"),K("n"),K("c"),K("e"),K("s"),K("Enter") ], + K("RC-Shift-N"): K("RC-Shift-P"), # Open private window with Ctrl+Shift+N like other browsers }) define_keymap(re.compile(chromeStr, re.IGNORECASE),{ K("C-comma"): [K("M-e"), K("s"),K("Enter")], From 9f5ba6e14edcf67406fd7c9b6e9196190d811bec Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Tue, 7 Sep 2021 23:19:12 -0500 Subject: [PATCH 2/2] Open Firefox private window - Windows --- windows/kinto.ahk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows/kinto.ahk b/windows/kinto.ahk index a38561f..37da37e 100644 --- a/windows/kinto.ahk +++ b/windows/kinto.ahk @@ -529,6 +529,7 @@ GroupAdd, intellij, ahk_exe idea64.exe ; Open preferences #IfWinActive ahk_exe firefox.exe ^,::send, {Ctrl Down}t{Ctrl Up}about:preferences{Enter} + ^+n::send ^+p #If #IfWinActive ahk_exe chrome.exe ^,::send {Alt Down}e{Alt Up}s{Enter} @@ -819,4 +820,4 @@ Send {RWin up} Send {LWin up} Send {RShift up} Send {LShift up} -return \ No newline at end of file +return