Giter Club home page Giter Club logo

Comments (4)

aspauldingcode avatar aspauldingcode commented on June 29, 2024

The following commands:
osascript -e 'do shell script "open -n -a Alacritty"'
open -n -a Alacritty
should open under one icon by default.
Since this is not the current behavior, I wish it to be available as a user-config default createnewwindow option - without assigning it to a bind in alacritty.

from alacritty.

anderssvendal avatar anderssvendal commented on June 29, 2024

Mac, skhd, yabai user here.

To open new window without getting a new icon I use the following command: /Applications/Alacritty.app/Contents/MacOS/alacritty msg create-window

from alacritty.

sangaline avatar sangaline commented on June 29, 2024

Thanks, that's helpful. You can try to send the create-window message first and then fall back to opening the application if it wasn't already running:

cmd - return : alacritty msg create-window || open -na alacritty

from alacritty.

aspauldingcode avatar aspauldingcode commented on June 29, 2024

Excellent!

cmd - return : alacritty msg create-window || open -na alacritty

Fixes FelixKratz/SketchyBar#12 (reply in thread):

in alacritty, I can make more than one window instance. When you have more than one, sketchybar doesn't update the title because it thinks both alacritty instances are the parent instance.
So one alacritty terminal will run one application, or change directory, and when I cd the title changes. But focusing on the new alacritty window doesn't change the title. and Changing Directory in that instance won't change the title either.

So I'm wondering if anyone's fixed this? The only way I've ever gotten it to work is to run zellij in all alacritty windows, which is really slow on my machine.

from alacritty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.