Switching focus on window close #1703
              
                Unanswered
              
          
                  
                    
                      valueof
                    
                  
                
                  asked this question in
                questions-and-answers
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I have a script that opens a new terminal window on a shortcut. The script is pretty straightforward:
This prevents spinning up multiple processes of
alacrittyto avoid cluttering thecmd-tab(old habits die hard) and save a little memory here and there.The problem I have is that I have one main terminal window in a separate space and then I open ephemeral windows in other spaces when there's a need. However, since they share a process, when I close an ephemeral window, the focus doesn't switch back to the previous app (say, Firefox). The previous app stays unfocused but the menu bar switches to alacritty.
Any advice on how to resolve this issue? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions