diff --git a/macOS.ahk b/macOS.ahk index 0c4dc1c..b4bf468 100644 --- a/macOS.ahk +++ b/macOS.ahk @@ -143,7 +143,7 @@ return ; ------------------------------ Windows & Tabs ------------------------------ $!w:: ; close tab -if WinActive("ahk_group Browser") +if WinActive("ahk_group Browser") || WinActive("ahk_exe explorer.exe") send ^w else if WinActive("ahk_exe wezterm-gui.exe") send ^+w @@ -193,7 +193,7 @@ else return $!t:: ; new tab -if WinActive("ahk_group Browser") +if WinActive("ahk_group Browser") || WinActive("ahk_exe explorer.exe") send ^t else send !t