commit dbc02c98cae5a1f419b6baa40ed95ebcf3cebf66
parent d167c2784e0e4137d843b22697708c2e93f3d6ce
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 24 May 2024 17:36:50 -0700
alacritty: Convert config from yaml to toml
This is required in newer versions.
Diffstat:
2 files changed, 24 insertions(+), 29 deletions(-)
diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml
@@ -0,0 +1,24 @@
+[env]
+TERM = "xterm-256color"
+
+[font]
+size = 15.0
+
+[[hints.enabled]]
+command = "xdg-open"
+post_processing = true
+regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
+
+[hints.enabled.binding]
+key = "U"
+mods = "Control|Shift"
+
+[hints.enabled.mouse]
+enabled = true
+mods = "Shift"
+
+[scrolling]
+history = 10000
+
+[selection]
+save_to_clipboard = true
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
@@ -1,29 +0,0 @@
-env:
- # By default, alacritty checks the local terminfo database and uses terminal
- # type `alacritty` if present, otherwise it falls back to `xterm-256color`.
- # That said, most remote systems don't include `alacritty` in their terminfo
- # database, and `xterm-256color` covers most of what we need, so we set that
- # by default.
- TERM: xterm-256color
-
-scrolling:
- history: 10000
-
-font:
- family: Noto Sans Mono
- size: 15.0
-
-selection:
- save_to_clipboard: true
-
-hints:
- enabled:
- - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
- command: xdg-open
- post_processing: true
- mouse:
- enabled: true
- mods: Shift
- binding:
- key: U
- mods: Control|Shift