Skip to content

Commit

Permalink
Had to split alacritty.toml into MacOS specific and Ubuntu specific ones
Browse files Browse the repository at this point in the history
  • Loading branch information
missingcharacter committed Jan 23, 2024
1 parent f9126fb commit 49486bd
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Thumbs.db

# Arbitrary files and folders #
###############################
# I symlink alacritty.toml
alacritty/alacritty.toml

## General ##
#############
Expand Down
27 changes: 27 additions & 0 deletions alacritty/alacritty_MacOS.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
live_config_reload = true

[cursor.style]
blinking = "Always"
shape = "Underline"

[font]
size = 14

[font.normal]
family = "JetBrainsMono Nerd Font Mono"

[selection]
save_to_clipboard = true

[window]
decorations = "full"
dynamic_padding = false
dynamic_title = false
opacity = 0.9
startup_mode = "Maximized"

[env]
TERM = "alacritty-direct"

[shell]
program = "/usr/local/bin/bash"
File renamed without changes.
2 changes: 2 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ link_if_not_exists "${GITROOT}/nvim" "${HOME}/.config/nvim"

# alacritty
link_if_not_exists "${GITROOT}/alacritty" "${HOME}/.config/alacritty"
link_if_not_exists "${HOME}/.config/alacritty/alacritty_${MACHINE_OS}.toml" "${HOME}/.config/alacritty/alacritty.toml"


declare -a OS_SPECIFIC_LINKS=()
mapfile -t OS_SPECIFIC_LINKS < <(get_os_specific_links "${MACHINE_OS}")
Expand Down

0 comments on commit 49486bd

Please sign in to comment.