

Note: After this, you will need to start a new SSH session to have the remote shell load the new Terminfo.Īlternatively, one can set the value of TERM in the configuration to xterm-256color instead of the default alacritty: Here is a one-liner version of the process above: $ rm alacritty.terminfo # optional: remove Terminfo file $ tic -x alacritty.terminfo # import Terminfo for current user On the remote host, in the directory where you copied alacritty.terminfo: $ scp alacritty.terminfo # or any other method to copy to the remote host Adding this line to drw.c in the dwm source directory and recompiling fixes the issue:ĭie("error, cannot allocate color '%s'", clrname) /* Find this line */ĭest->pixel |= 0xff alacritty.terminfo # export Alacritty's Terminfo With dwm, alacritty's borders become transparent. Troubleshooting Mouse not working properly in VimĪdd set ttymouse=sgr and set mouse=a to your. See the hints: section of alacritty.yml for configuration details. When activated, the matched texts are highlighted with "hints" according to the configured alphabet and presented to the user for selection via keyboard.īy default, Alacritty provides hinting URLs via the Ctrl+Shift+U shortcut and opens them with xdg-open. Regex hints can be used to find text in the visible part of the terminal and pipe it to other applications. To copy/paste to/from X clipboard, you can use a mouse selection to copy and a middle mouse click to paste. To copy, you can either use a mouse to select and press Ctrl+Shift+c, or enter Vi mode, start a selection using v, move around with hjkl like in vim, and copy the selection with y. By default, you can toggle it using Ctrl+Shift+Space. The vi mode allows moving around Alacritty's viewport and scrollback using the keyboard. Tips and tricks Spawn new instance in same directoryĪdd the following lines to your configuration file to spawn a new instance of Alacritty in the current working directory by pressing Ctrl+Shift+Enter: Note that some fonts do not provide an Italic style but an Oblique style instead.

Substitute monospace with a font name from the output of If you do not want to use your system’s default font, you can specify a different font by changing the following lines:
#ALACRITTY M1 CODE#
If your preferred color scheme is on the list, paste the provided code into your configuration file. See the upstream wiki for a list of available color schemes. Most settings take effect as soon as you save the file. $XDG_CONFIG_HOME/alacritty/alacritty.ymlĬopy the example configuration file at /usr/share/doc/alacritty/example/alacritty.yml to one of those places and uncomment the settings you want to change.
#ALACRITTY M1 INSTALL#
Install the alacritty package or alacritty-git AUR for the development version.Īlacritty searches for a configuration file at the following places in this order: It supports scrollback, 24-bit colors ( w:Color depth#True color (24-bit), copy/paste, clicking on URLs, and custom key bindings. Please forgive me if this has nothing todo with Alacritty and I should have gone elsewhere for help/advice.Alacritty is a simple, GPU-accelerated terminal emulator written in Rust. I will be digging further to see what I could have done wrong.
#ALACRITTY M1 MAC#
I have build scripts on my M1 mac that depends on uname -m returning arm64 which worked perfectly until yesterday and now after having rebooted my scripts don't work because they get x86_64.Īlso I want to tell you that I am not an expert so I hope that I am not making any stupid beginners mistake whilst reporting this. Has anyone else stumbled upon this issue here? Is this an appropriate place to ask for help on this issue? it returns arm64 which is what it is supposed to do on M1 macs from what I understand. If I check the same command in the regular Terminal.app. After rebooting my M1 Macbook Air, running uname -m returns x86_64 when it previously returned arm64 before rebooting. I am running the Alacritty terminal emulator on MacOS.
