summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2024-04-13 11:54:45 +0200
committerReiner Herrmann <reiner@reiner-h.de>2024-04-13 11:54:45 +0200
commit811e9b4b7250ac7f9771006f5d51498a82ed9f66 (patch)
tree60b19123ac24f0ab73900a5011e614c5eb08e13b
parentfb6a07c00ceff707c8c48a6c6e7c1b5186eef3b8 (diff)
alacritty: migrate from yaml to new toml config format
-rw-r--r--alacritty/alacritty.toml58
-rw-r--r--alacritty/alacritty.yml58
-rwxr-xr-xdeploy.sh2
3 files changed, 59 insertions, 59 deletions
diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml
new file mode 100644
index 0000000..a3c9eea
--- /dev/null
+++ b/alacritty/alacritty.toml
@@ -0,0 +1,58 @@
+[font]
+size = 8.0
+
+[font.normal]
+family = "Iosevka Term"
+style = "Regular"
+
+[[hints.enabled]]
+command = "xdg-open"
+hyperlinks = true
+post_processing = true
+regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+"
+
+[hints.enabled.mouse]
+enabled = true
+mods = "None"
+
+[[hints.enabled]]
+command = "open_url.sh"
+regex = '(?:Closes:.|\#)(1?\d{6})'
+
+[hints.enabled.mouse]
+enabled = true
+
+[[hints.enabled]]
+command = "open_url.sh"
+regex = '(1?\d{6})@bugs.debian.org'
+
+[hints.enabled.mouse]
+enabled = true
+
+[colors.primary]
+background = "#1c1b19"
+foreground = "#fce8c3"
+
+[colors.cursor]
+cursor = "#fbb829"
+text = "CellBackground"
+
+[colors.normal]
+black = "#1c1b19"
+blue = "#2c78bf"
+cyan = "#0aaeb3"
+green = "#519f50"
+magenta = "#e02c6d"
+red = "#ef2f27"
+white = "#baa67f"
+yellow = "#fbb829"
+
+[colors.bright]
+black = "#918175"
+blue = "#68a8e4"
+cyan = "#2be4d0"
+green = "#98bc37"
+magenta = "#ff5c8f"
+red = "#f75341"
+white = "#fce8c3"
+yellow = "#fed06e"
diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml
deleted file mode 100644
index a14fd74..0000000
--- a/alacritty/alacritty.yml
+++ /dev/null
@@ -1,58 +0,0 @@
-font:
- normal:
- family: Iosevka Term
- style: Regular
- size: 8.0
-
-hints:
- enabled:
- - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
- [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
- hyperlinks: true
- command: xdg-open
- post_processing: true
- mouse:
- enabled: true
- mods: None
- - regex: "(?:Closes:.|\\#)(1?\\d{6})"
- command: open_url.sh
- mouse:
- enabled: true
- - regex: "(1?\\d{6})@bugs.debian.org"
- command: open_url.sh
- mouse:
- enabled: true
-
-# srcery
-colors:
- # Default colors
- primary:
- background: '#1c1b19'
- foreground: '#fce8c3'
-
- # Cursor colors
- cursor:
- text: CellBackground
- cursor: '#fbb829'
-
- # Normal colors
- normal:
- black: '#1c1b19'
- red: '#ef2f27'
- green: '#519f50'
- yellow: '#fbb829'
- blue: '#2c78bf'
- magenta: '#e02c6d'
- cyan: '#0aaeb3'
- white: '#baa67f'
-
- # Bright colors
- bright:
- black: '#918175'
- red: '#f75341'
- green: '#98bc37'
- yellow: '#fed06e'
- blue: '#68a8e4'
- magenta: '#ff5c8f'
- cyan: '#2be4d0'
- white: '#fce8c3'
diff --git a/deploy.sh b/deploy.sh
index 37f7b77..abdf306 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -32,7 +32,7 @@ mkdir -p ${HOME}/.local/share/tig
mkdir -p ${HOME}/.local/bin ${HOME}/.config/alacritty
ln -sf ${CONFIG_DIR}/alacritty/open_url.sh ${HOME}/.local/bin/open_url.sh
-ln -sf ${CONFIG_DIR}/alacritty/alacritty.yml ${HOME}/.config/alacritty/alacritty.yml
+ln -sf ${CONFIG_DIR}/alacritty/alacritty.toml ${HOME}/.config/alacritty/alacritty.toml
mkdir -p ${HOME}/.config/lintian
ln -sf ${CONFIG_DIR}/debian/lintianrc ${HOME}/.config/lintian/lintianrc