06012024
Migrate to .toml for alacritty configs
This commit is contained in:
parent
e3134290b9
commit
8748a219ea
8 changed files with 131 additions and 0 deletions
5
.github/README.md
vendored
5
.github/README.md
vendored
|
@ -1 +1,6 @@
|
|||
...
|
||||
|
||||
```bash
|
||||
stow --no-folding global
|
||||
stow --no-folding linux
|
||||
```
|
||||
|
|
56
global/.config/alacritty/alacritty.toml
Normal file
56
global/.config/alacritty/alacritty.toml
Normal file
|
@ -0,0 +1,56 @@
|
|||
import = [
|
||||
"~/.config/alacritty/themes/dracula.toml",
|
||||
"~/.config/alacritty/keybindings.toml"
|
||||
]
|
||||
live_config_reload = true
|
||||
|
||||
[cursor]
|
||||
unfocused_hollow = true
|
||||
|
||||
[cursor.style]
|
||||
shape = "Block"
|
||||
|
||||
[env]
|
||||
TERM = "tmux-256color"
|
||||
|
||||
[font]
|
||||
size = 10.0
|
||||
|
||||
[font.bold]
|
||||
family = "JetBrainsMono NF"
|
||||
style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "JetBrainsMono NF"
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.italic]
|
||||
family = "JetBrainsMono NF"
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "JetBrainsMono NF"
|
||||
style = "Regular"
|
||||
|
||||
|
||||
[scrolling]
|
||||
history = 50000
|
||||
multiplier = 3
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = false
|
||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t"
|
||||
|
||||
[shell]
|
||||
args = ["-l", "-c", "tmux attach || tmux"]
|
||||
program = "/bin/zsh"
|
||||
|
||||
[window]
|
||||
decorations = "full"
|
||||
dynamic_padding = false
|
||||
dynamic_title = true
|
||||
startup_mode = "Maximized"
|
||||
|
||||
[window.padding]
|
||||
x = 2
|
||||
y = 2
|
|
@ -47,3 +47,4 @@ colors:
|
|||
end:
|
||||
foreground: "#f1fa8c"
|
||||
background: "#282a36"
|
||||
|
56
global/.config/alacritty/themes/dracula.toml
Normal file
56
global/.config/alacritty/themes/dracula.toml
Normal file
|
@ -0,0 +1,56 @@
|
|||
[colors.bright]
|
||||
black = "#6272a4"
|
||||
blue = "#d6acff"
|
||||
cyan = "#a4ffff"
|
||||
green = "#69ff94"
|
||||
magenta = "#ff92df"
|
||||
red = "#ff6e6e"
|
||||
white = "#ffffff"
|
||||
yellow = "#ffffa5"
|
||||
|
||||
[colors.cursor]
|
||||
cursor = "#f8f8f2"
|
||||
text = "#282a36"
|
||||
|
||||
[colors.footer_bar]
|
||||
background = "#282a36"
|
||||
foreground = "#f8f8f2"
|
||||
|
||||
[colors.hints.end]
|
||||
background = "#282a36"
|
||||
foreground = "#f1fa8c"
|
||||
|
||||
[colors.hints.start]
|
||||
background = "#f1fa8c"
|
||||
foreground = "#282a36"
|
||||
|
||||
[colors.normal]
|
||||
black = "#21222c"
|
||||
blue = "#bd93f9"
|
||||
cyan = "#8be9fd"
|
||||
green = "#50fa7b"
|
||||
magenta = "#ff79c6"
|
||||
red = "#ff5555"
|
||||
white = "#f8f8f2"
|
||||
yellow = "#f1fa8c"
|
||||
|
||||
[colors.primary]
|
||||
background = "#282a36"
|
||||
bright_foreground = "#ffffff"
|
||||
foreground = "#f8f8f2"
|
||||
|
||||
[colors.search.focused_match]
|
||||
background = "#ffb86c"
|
||||
foreground = "#44475a"
|
||||
|
||||
[colors.search.matches]
|
||||
background = "#50fa7b"
|
||||
foreground = "#44475a"
|
||||
|
||||
[colors.selection]
|
||||
background = "#44475a"
|
||||
text = "CellForeground"
|
||||
|
||||
[colors.vi_mode_cursor]
|
||||
cursor = "CellForeground"
|
||||
text = "CellBackground"
|
1
global/.stow-local-ignore
Normal file
1
global/.stow-local-ignore
Normal file
|
@ -0,0 +1 @@
|
|||
^/\.config/alacritty/themes/deprecated-dracula\.yml$
|
11
linux/.config/alacritty/keybindings.toml
Normal file
11
linux/.config/alacritty/keybindings.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[keyboard]
|
||||
bindings = [
|
||||
{key = "W", mods = "Alt", chars = "\u001BW" },
|
||||
{key = "X", mods = "Alt", chars = "\u001BX" },
|
||||
{key = 27, mods = "Alt|Shift", chars = "\u001Bn" },
|
||||
{key = 26, mods = "Alt|Shift", chars = "\u001Bp" },
|
||||
{key = "Z", mods = "Alt", chars = "\u0001w" },
|
||||
# tmux resurrect plugin
|
||||
{key = "R", mods = "Alt", chars = "\u0001\u0012" },
|
||||
{key = "S", mods = "Alt", chars = "\u0001\u0013" },
|
||||
]
|
1
linux/.stow-local-ignore
Normal file
1
linux/.stow-local-ignore
Normal file
|
@ -0,0 +1 @@
|
|||
^/\.config/alacritty/deprecated-alacritty\.yml$
|
Loading…
Add table
Reference in a new issue