Skip to content

Commit

Permalink
[alacritty] Added both config types toml and yml
Browse files Browse the repository at this point in the history
  • Loading branch information
missingcharacter committed Jan 17, 2024
1 parent 1936924 commit 3d1290a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 29 deletions.
21 changes: 21 additions & 0 deletions alacritty.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
live_config_reload = true

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

[font]
size = 12

[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"
29 changes: 0 additions & 29 deletions alacritty.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
# Examples from:
# - https://github.com/tmcdonell/config-alacritty/blob/master/alacritty.yml
# - https://github.com/numToStr/dotfiles/blob/master/alacritty/.config/alacritty/alacritty.yml
# env:
# TERM: alacritty-direct
window:
dynamic_padding: false
decorations: full
Expand All @@ -17,31 +12,7 @@ cursor:
shape: Beam
blinking: Always
live_config_reload: true
shell:
program: /usr/bin/bash
# args:
# - --command=tmux
font:
size: 12
normal:
family: JetBrainsMono Nerd Font Mono
# debug:
# Display the time it takes to redraw each frame.
# render_timer: false

# Keep the log file after quitting Alacritty.
# persistent_logging: false

# Log level
#
# Values for `log_level`:
# - 'Off'
# - Error
# - Warn
# - Info
# - Debug
# - Trace
# log_level: Warn

# Print all received window events.
# print_events: false
1 change: 1 addition & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ link_if_not_exists "${GITROOT}/nvim" "${HOME}/.config/nvim"
# alacritty
create_dir_if_not_exists "${HOME}/.config/alacritty"
link_if_not_exists "${GITROOT}/alacritty.yml" "${HOME}/.config/alacritty/alacritty.yml"
link_if_not_exists "${GITROOT}/alacritty.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 3d1290a

Please sign in to comment.