aboutsummaryrefslogtreecommitdiffhomepage
path: root/X11/alacritty
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-01-10 11:12:38 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-01-10 11:12:38 +0800
commit6ec4f549a9f19bc30fbd0f06539dd6293cd782bb (patch)
tree2a7418fff237a874e7aaed87e6a985ea13c94beb /X11/alacritty
parent74253fe18e7358d9c264e5ce393cdfa4219df250 (diff)
Update
Diffstat (limited to 'X11/alacritty')
-rw-r--r--X11/alacritty/alacritty.toml74
-rw-r--r--X11/alacritty/colors.toml23
-rw-r--r--X11/alacritty/fonts.toml14
3 files changed, 111 insertions, 0 deletions
diff --git a/X11/alacritty/alacritty.toml b/X11/alacritty/alacritty.toml
new file mode 100644
index 0000000..359135e
--- /dev/null
+++ b/X11/alacritty/alacritty.toml
@@ -0,0 +1,74 @@
1import = ["/home/pham/.config/alacritty/colors.toml", "/home/pham/.config/alacritty/fonts.toml"]
2live_config_reload = true
3
4[cursor]
5unfocused_hollow = false
6
7[cursor.style]
8blinking = "On"
9shape = "Block"
10
11[env]
12TERM = "alacritty"
13WINIT_X11_SCALE_FACTOR = "1.0"
14
15[[hints.enabled]]
16command = "xdg-open"
17hyperlinks = true
18post_processing = true
19regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+"
20
21[hints.enabled.binding]
22key = "K"
23mods = "Control|Shift"
24
25[hints.enabled.mouse]
26enabled = true
27mods = "None"
28
29[[hints.enabled]]
30action = "Copy"
31post_processing = true
32regex = "([-_./0-9@-Za-z]{4,})"
33
34[hints.enabled.binding]
35key = "I"
36mods = "Control|Shift"
37
38[[keyboard.bindings]]
39action = "SemanticRight"
40key = "W"
41mode = "Vi|~Search"
42mods = "None"
43
44[[keyboard.bindings]]
45action = "SemanticLeft"
46key = "B"
47mode = "Vi|~Search"
48mods = "None"
49
50[[keyboard.bindings]]
51action = "ScrollHalfPageDown"
52key = "D"
53mode = "Vi|~Search"
54mods = "Control"
55
56[[keyboard.bindings]]
57action = "ScrollHalfPageUp"
58key = "U"
59mode = "Vi|~Search"
60mods = "Control"
61
62[window]
63decorations = "full"
64dynamic_title = true
65opacity = 1.0
66startup_mode = "Windowed"
67
68[window.dimensions]
69columns = 82
70lines = 18
71
72[window.padding]
73x = 24
74y = 12
diff --git a/X11/alacritty/colors.toml b/X11/alacritty/colors.toml
new file mode 100644
index 0000000..e4dc734
--- /dev/null
+++ b/X11/alacritty/colors.toml
@@ -0,0 +1,23 @@
1[colors.bright]
2black = "#50545B"
3blue = "#6CB8F9"
4cyan = "#5FC0CC"
5green = "#A2CD83"
6magenta = "#D282E7"
7red = "#EA757E"
8white = "#B5BCC9"
9yellow = "#EFCA84"
10
11[colors.normal]
12black = "#32363D"
13blue = "#177CC0"
14cyan = "#55B6C2"
15green = "#98C379"
16magenta = "#C778DD"
17red = "#E06B74"
18white = "#ABB2BF"
19yellow = "#E5C07A"
20
21[colors.primary]
22background = "#1E2128"
23foreground = "#ABB2BF"
diff --git a/X11/alacritty/fonts.toml b/X11/alacritty/fonts.toml
new file mode 100644
index 0000000..2683761
--- /dev/null
+++ b/X11/alacritty/fonts.toml
@@ -0,0 +1,14 @@
1[font]
2size = 20
3
4[font.bold]
5family = "Source Code Pro"
6
7[font.bold_italic]
8family = "Source Code Pro"
9
10[font.italic]
11family = "Source Code Pro"
12
13[font.normal]
14family = "Source Code Pro"