From c4e16151b4d985eb612bad6fa102d03298fc6612 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Thu, 11 Jan 2024 03:53:16 +0100 Subject: [PATCH] Migrate alacritty's config file --- .config/alacritty/alacritty.toml | 56 ++++++++++++++++++++ .config/alacritty/alacritty.yml | 88 -------------------------------- 2 files changed, 56 insertions(+), 88 deletions(-) create mode 100644 .config/alacritty/alacritty.toml delete mode 100644 .config/alacritty/alacritty.yml diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..0798304 --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,56 @@ +[colors] +draw_bold_text_with_bright_colors = true + +[cursor] +blink_interval = 500 +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 = 9999 +multiplier = 10 + +[shell] +args = ["-l"] +program = "/usr/bin/zsh" + +[window] +decorations = "none" +dynamic_padding = true +opacity = 0.95 + +[window.padding] +x = 10 +y = 10 diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml deleted file mode 100644 index dd1ea23..0000000 --- a/.config/alacritty/alacritty.yml +++ /dev/null @@ -1,88 +0,0 @@ -# Source: https://github.com/alacritty/alacritty/blob/master/alacritty.yml - - -window: - - # Blank space added around the window in pixels - padding: - x: 10 - y: 10 - - # Spread additional padding evenly around the terminal content - dynamic_padding: true - - # Neither borders nor title bar - decorations: none - - # Background opacity (0.0 -> completely transparent; 1.0 -> opaque) - opacity: 0.95 - - - -scrolling: - - # Number of lines in the scrollback buffer (0 -> disable scrolling) - history: 9999 - - # Scrolling distance multiplier - multiplier: 10 - - - -font: - - normal: - family: FiraCode Nerd Font - style: Regular - - bold: - family: FiraCode Nerd Font - style: Bold - - italic: - family: FiraCode Nerd Font - style: Light - - bold_italic: - family: FiraCode Nerd Font - style: Semibold - - size: 12.0 - - offset: - x: 0 # letter spacing - y: 0 # line spacing - - - -draw_bold_text_with_bright_colors: true - - - -cursor: - - style: - # ▇ (Block) vs. _ (Underline) vs. | (Beam) - shape: Block - blinking: On - - blink_interval: 500 # in ms - - unfocused_hollow: true # when window not focused - - thickness: 0.1 # between 0.0 and 1.0 - - - -shell: - - program: /usr/bin/zsh - args: - - -l # --login - - - -key_bindings: - - # Open a new terminal in the same folder - - { key: Return, mods: Control|Shift, action: SpawnNewInstance }