refactor(alacritty): import OS/system-specific configs, archive unused themes
This commit is contained in:
parent
5d193545de
commit
43b1430606
17 changed files with 337 additions and 409 deletions
|
|
@ -1,26 +1,4 @@
|
||||||
# Alacritty Windows config
|
# Alacritty config
|
||||||
|
|
||||||
```
|
Delete the `alacrity-<systemdescr>.toml` files you will not need. Those contain
|
||||||
import = [
|
OS/system-dependant preferences like font size etc.
|
||||||
"C:/Users/foobar/AppData/Roaming/alacritty/tokyonight_moon.toml"
|
|
||||||
]
|
|
||||||
|
|
||||||
[font]
|
|
||||||
normal = { family = "JetBrainsMono Nerd Font", style = "Regular" }
|
|
||||||
size = 16
|
|
||||||
|
|
||||||
[window]
|
|
||||||
decorations = "Full"
|
|
||||||
padding = { x = 5, y = 5 }
|
|
||||||
dynamic_padding = true
|
|
||||||
|
|
||||||
[bell]
|
|
||||||
duration = 10
|
|
||||||
color = "#3a3a3a"
|
|
||||||
|
|
||||||
[cursor]
|
|
||||||
style = { shape = "Block", blinking = "Always" }
|
|
||||||
|
|
||||||
[keyboard]
|
|
||||||
bindings = [{ key = "T", mods = "Control", action = "CreateNewWindow" }]
|
|
||||||
```
|
|
||||||
|
|
|
||||||
6
.config/alacritty/alacritty-macos.toml
Normal file
6
.config/alacritty/alacritty-macos.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
[font]
|
||||||
|
size = 18
|
||||||
|
|
||||||
|
[window]
|
||||||
|
opacity = 0.85
|
||||||
|
blur = true
|
||||||
9
.config/alacritty/alacritty-minix.toml
Normal file
9
.config/alacritty/alacritty-minix.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[font]
|
||||||
|
size = 14
|
||||||
|
|
||||||
|
[window]
|
||||||
|
opacity = 0.9
|
||||||
|
blur = true
|
||||||
|
|
||||||
|
[general]
|
||||||
|
import = ["~/.config/alacritty/rose-pine-moon.toml"]
|
||||||
|
|
@ -1,65 +0,0 @@
|
||||||
# Used for TODO.txt
|
|
||||||
[font]
|
|
||||||
normal = { family = "BerkeleyMono Nerd Font Mono", style = "Regular" }
|
|
||||||
bold = { style = "Bold" }
|
|
||||||
italic = { style = "Oblique" }
|
|
||||||
bold_italic = { style = "Bold Oblique" }
|
|
||||||
size = 15
|
|
||||||
|
|
||||||
[window]
|
|
||||||
option_as_alt = "Both"
|
|
||||||
decorations = "None"
|
|
||||||
padding = { x = 12, y = 5 }
|
|
||||||
dynamic_padding = true
|
|
||||||
# opacity = 0.8
|
|
||||||
# blur = true
|
|
||||||
|
|
||||||
[bell]
|
|
||||||
duration = 10
|
|
||||||
color = "#3a3a3a"
|
|
||||||
|
|
||||||
[cursor]
|
|
||||||
style = { shape = "Block", blinking = "Always" }
|
|
||||||
|
|
||||||
[colors.search]
|
|
||||||
matches = { foreground = "#f4d03f", background = "#273746" }
|
|
||||||
focused_match = { foreground = "#273746", background = "#f4d03f" }
|
|
||||||
|
|
||||||
[colors.footer_bar]
|
|
||||||
background = "#f4d03f"
|
|
||||||
foreground = "#273746"
|
|
||||||
|
|
||||||
[keyboard]
|
|
||||||
|
|
||||||
bindings = [
|
|
||||||
# Required to make Ctrl+/ work on macOS (used in Telescope)
|
|
||||||
{ chars = "\u001F", key = "Slash", mods = "Control" },
|
|
||||||
{ key = "Key0", mods = "Command", action = "ResetFontSize" },
|
|
||||||
{ key = "0", mods = "Command", action = "ResetFontSize" },
|
|
||||||
{ key = "Plus", mods = "Command", action = "IncreaseFontSize" },
|
|
||||||
{ key = "Minus", mods = "Command", action = "DecreaseFontSize" },
|
|
||||||
{ key = "PageUp", mods = "Shift", action = "ScrollPageUp" },
|
|
||||||
{ key = "PageDown", mods = "Shift", action = "ScrollPageDown" },
|
|
||||||
# Disable Cmd+w to avoid accidental closing. Disabling Cmd+q needs more work
|
|
||||||
{ key = "w", mods = "Command", action = "None" },
|
|
||||||
]
|
|
||||||
|
|
||||||
[general]
|
|
||||||
# Vi Mode
|
|
||||||
# The vi mode allows moving around Alacritty's viewport and scrollback using
|
|
||||||
# the keyboard. It also serves as a jump-off point for other features like
|
|
||||||
# search and opening URLs with the keyboard. By default you can launch it
|
|
||||||
# using Ctrl Shift Space.
|
|
||||||
|
|
||||||
# Selection
|
|
||||||
# One useful feature of vi mode is the ability to make selections and copy text
|
|
||||||
# to the clipboard. By default you can start a selection using v and copy it
|
|
||||||
# using y. All selection modes that are available with the mouse can be accessed
|
|
||||||
# from vi mode, including the semantic (Alt v), line (Shift v) and block
|
|
||||||
# selection (Ctrl v). You can also toggle between them while the selection is
|
|
||||||
# still active.
|
|
||||||
|
|
||||||
import = ["~/.config/alacritty/rose-pine-moon.toml"]
|
|
||||||
|
|
||||||
#[mouse]
|
|
||||||
#hide_when_typing = true
|
|
||||||
|
|
@ -5,8 +5,7 @@ normal = { family = "BerkeleyMono Nerd Font Mono", style = "Regular" }
|
||||||
bold = { style = "Bold" }
|
bold = { style = "Bold" }
|
||||||
italic = { style = "Oblique" }
|
italic = { style = "Oblique" }
|
||||||
bold_italic = { style = "Bold Oblique" }
|
bold_italic = { style = "Bold Oblique" }
|
||||||
size = 18
|
#offset = { x = 0, y = 0 }
|
||||||
# offset = { x = 0, y = 0 }
|
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
# option_as_alt = "Both"
|
# option_as_alt = "Both"
|
||||||
|
|
@ -14,7 +13,6 @@ option_as_alt = "None"
|
||||||
decorations = "None"
|
decorations = "None"
|
||||||
padding = { x = 12, y = 5 }
|
padding = { x = 12, y = 5 }
|
||||||
dynamic_padding = true
|
dynamic_padding = true
|
||||||
# opacity = 0.8
|
|
||||||
# blur = true
|
# blur = true
|
||||||
|
|
||||||
[bell]
|
[bell]
|
||||||
|
|
@ -67,7 +65,9 @@ bindings = [
|
||||||
# selection (Ctrl v). You can also toggle between them while the selection is
|
# selection (Ctrl v). You can also toggle between them while the selection is
|
||||||
# still active.
|
# still active.
|
||||||
|
|
||||||
import = ["~/.config/alacritty/rose-pine-dawn.toml"]
|
import = ["~/.config/alacritty/rose-pine-moon.toml"]
|
||||||
|
import = ["~/.config/alacritty/alacritty-macos.toml"]
|
||||||
|
import = ["~/.config/alacritty/alacritty-minix.toml"]
|
||||||
|
|
||||||
#[mouse]
|
#[mouse]
|
||||||
#hide_when_typing = true
|
#hide_when_typing = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue