diff --git a/.config/alacritty/README.md b/.config/alacritty/README.md new file mode 100644 index 0000000..a9048f2 --- /dev/null +++ b/.config/alacritty/README.md @@ -0,0 +1,8 @@ +# `alacritty`-related Configurations + +This folder contains + the [config](./alacritty.toml) + for the [`alacritty`](https://alacritty.org/) terminal. + +`colors.toml` is untracked + and written by [`color-palette`](../../.local/bin/color-palette). diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..91b2e23 --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,97 @@ +[general] + +import = ["colors.toml"] + + + +[bell] + +animation = "EaseOutSine" +duration = 250 + + + +[cursor] + +blink_interval = 500 +blink_timeout = 0 +thickness = 0.1 +unfocused_hollow = true + + +[cursor.style] + +blinking = "On" +shape = "Block" + + + +[font] + +size = 12.0 + + +[font.bold] + +family = "FiraCode Nerd Font" +style = "Bold" + + +[font.bold_italic] + +family = "FiraCode Nerd Font" +style = "Semibold" + + +[font.italic] + +family = "FiraCode Nerd Font" +style = "Light" + + +[font.normal] + +family = "FiraCode Nerd Font" +style = "Regular" + + +[font.offset] + +x = 0 +y = 0 + + + +[[keyboard.bindings]] + +action = "SpawnNewInstance" +key = "Return" +mods = "Control|Shift" + + + +[scrolling] + +history = 99999 +multiplier = 10 + + + +[terminal.shell] + +args = ["-l"] +program = "/usr/bin/zsh" + + + +[window] + +decorations = "none" +dynamic_padding = true +opacity = 0.90 + + +[window.padding] + +x = 10 +y = 10 diff --git a/.config/shell/logout b/.config/shell/logout index 6682773..888cb63 100644 --- a/.config/shell/logout +++ b/.config/shell/logout @@ -7,6 +7,7 @@ if [ "$SHLVL" = 1 ]; then # ~ if on the outermost shell instance # Clear screen and scrollback without a `terminfo` lookup # because `clear` fails on hosts that do not know `$TERM` + # (e.g., `alacritty`) printf '\033[H\033[2J\033[3J' # On a real Linux `tty`, run `clear_console` for a full reset also diff --git a/.local/bin/dotfiles-install b/.local/bin/dotfiles-install index 247f19b..3c3f3fc 100755 --- a/.local/bin/dotfiles-install +++ b/.local/bin/dotfiles-install @@ -11,6 +11,7 @@ set -eu XDG_BIN_HOME="${XDG_BIN_HOME:-$HOME/.local/bin}" +XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"