From aa93de98a840f8c1e422c77a3df464b5da9e0fe0 Mon Sep 17 00:00:00 2001 From: tristaan Date: Sat, 11 Nov 2023 20:12:48 +0100 Subject: [PATCH] alacritty & install.sh: macos compliant --- .config/alacritty/alacritty.yml | 17 +++++++++-------- install.sh | 4 +++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 90b097a..e2642a4 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -53,24 +53,24 @@ draw_bold_text_with_bright_colors: true font: # The normal (roman) font face to use. normal: - family: "xos4 Terminus" # should be "Menlo" or something on macOS. + family: "Terminus (TTF)" # should be "Menlo" or something on macOS. # Style can be specified to pick a specific face. - style: Regular + style: Medium # The bold font face bold: - family: "xos4 Terminus" # should be "Menlo" or something on macOS. + family: "Terminus (TTF)" # should be "Menlo" or something on macOS. # Style can be specified to pick a specific face. style: Bold # The italic font face italic: - family: "xos4 Terminus" # should be "Menlo" or something on macOS. + family: "Terminus (TTF)" # should be "Menlo" or something on macOS. # Style can be specified to pick a specific face. - # style: Italic + style: Italic # Point size of the font - size: 12.0 + size: 16.0 # Offset is the extra space around each character. offset.y can be thought of # as modifying the linespacing, and offset.x as modifying the letter spacing. @@ -88,7 +88,7 @@ font: # OS X only: use thin stroke font rendering. Thin strokes are suitable # for retina displays, but for non-retina you probably want this set to # false. - use_thin_strokes: true + AppleFontSmoothing: true # Should display the render timer debug: @@ -166,7 +166,8 @@ bell: duration: 0 # Background opacity -background_opacity: 1.0 +window: + opacity: 1.0 # Mouse bindings # diff --git a/install.sh b/install.sh index f99c294..e5802f2 100755 --- a/install.sh +++ b/install.sh @@ -46,7 +46,9 @@ do rm -r trizen* elif [[ $machine == 'Darwin' ]]; then NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" - brew install alacritty terminus + brew tap homebrew/cask-fonts + brew install alacritty + brew install --cask font-terminus fi fi done