aboutsummaryrefslogtreecommitdiffhomepage
path: root/X11/alacritty
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-11-14 12:49:44 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-11-14 13:01:42 +0800
commitc4dd1c70e930a981a64947f8bd641538fe2b3cdd (patch)
tree061d38bbdbb33ebd5e92f54451f3a2b7b168a7b5 /X11/alacritty
parent8aa314aa0b3ba61fa79124a6cd5610119126ec11 (diff)
Update
Diffstat (limited to 'X11/alacritty')
-rw-r--r--X11/alacritty/alacritty.yml74
-rw-r--r--X11/alacritty/colors.yml30
-rw-r--r--X11/alacritty/fonts.toml2
-rw-r--r--X11/alacritty/fonts.yml37
4 files changed, 1 insertions, 142 deletions
diff --git a/X11/alacritty/alacritty.yml b/X11/alacritty/alacritty.yml
deleted file mode 100644
index 1005095..0000000
--- a/X11/alacritty/alacritty.yml
+++ /dev/null
@@ -1,74 +0,0 @@
1## Copyright (C) 2020-2021 Aditya Shakya <adi1090x@gmail.com>
2## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
3
4## Configuration for Alacritty, the GPU enhanced terminal emulator.
5## It's a very basic and simple config file, for full configuration...
6## See, /usr/share/doc/alacritty/example/alacritty.yml
7
8## Import files (Colors, Fonts, Etc)
9import:
10 - ~/.config/alacritty/colors.yml
11 - ~/.config/alacritty/fonts.yml
12
13## Set environment variables
14env:
15 TERM: alacritty
16 WINIT_X11_SCALE_FACTOR: '1.0'
17
18## Terminal window settings
19window:
20 dimensions:
21 columns: 82
22 lines: 18
23
24 padding:
25 x: 24
26 y: 12
27
28 decorations: full
29 startup_mode: Windowed
30 dynamic_title: true
31
32## scrolling
33 history: 10000
34 multiplier: 3
35
36## Background opacity
37 opacity: 1.0
38
39## Cursor
40cursor:
41 style:
42 shape: Block
43 blinking: On
44
45 unfocused_hollow: false
46
47## Live config reload
48live_config_reload: true
49
50key_bindings:
51 - { key: W, mods: None, action: SemanticRight, mode: Vi|~Search }
52 - { key: B, mods: None, action: SemanticLeft, mode: Vi|~Search }
53 - { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
54 - { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
55
56hints:
57 enabled:
58 - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
59 [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
60 hyperlinks: true
61 command: xdg-open
62 post_processing: true
63 mouse:
64 enabled: true
65 mods: None
66 binding:
67 key: K
68 mods: Control|Shift
69 - regex: "([-_./0-9\u0040-\u005A\u0061-\u007A]{4,})"
70 action: Copy
71 post_processing: true
72 binding:
73 key: I
74 mods: Control|Shift
diff --git a/X11/alacritty/colors.yml b/X11/alacritty/colors.yml
deleted file mode 100644
index 5c83d9f..0000000
--- a/X11/alacritty/colors.yml
+++ /dev/null
@@ -1,30 +0,0 @@
1## Colors configuration
2colors:
3 # Default colors
4 primary:
5 background: '#1E2128'
6 foreground: '#ABB2BF'
7
8 # Normal colors
9 normal:
10 black: '#32363D'
11 red: '#E06B74'
12 green: '#98C379'
13 #green: '#368405'
14 yellow: '#E5C07A'
15 #blue: '#62AEEF'
16 blue: '#177CC0'
17 magenta: '#C778DD'
18 cyan: '#55B6C2'
19 white: '#ABB2BF'
20
21 # Bright colors
22 bright:
23 black: '#50545B'
24 red: '#EA757E'
25 green: '#A2CD83'
26 yellow: '#EFCA84'
27 blue: '#6CB8F9'
28 magenta: '#D282E7'
29 cyan: '#5FC0CC'
30 white: '#B5BCC9'
diff --git a/X11/alacritty/fonts.toml b/X11/alacritty/fonts.toml
index 2683761..bc5803a 100644
--- a/X11/alacritty/fonts.toml
+++ b/X11/alacritty/fonts.toml
@@ -1,5 +1,5 @@
1[font] 1[font]
2size = 20 2size = 16
3 3
4[font.bold] 4[font.bold]
5family = "Source Code Pro" 5family = "Source Code Pro"
diff --git a/X11/alacritty/fonts.yml b/X11/alacritty/fonts.yml
deleted file mode 100644
index d8cacaf..0000000
--- a/X11/alacritty/fonts.yml
+++ /dev/null
@@ -1,37 +0,0 @@
1## Copyright (C) 2020-2021 Aditya Shakya <adi1090x@gmail.com>
2## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
3
4# Font configuration
5font:
6 # Normal (roman) font face
7 normal:
8 family: "Source Code Pro"
9 #style: Regular
10
11 # Bold font face
12 bold:
13 family: "Source Code Pro"
14 #style: Bold
15
16 # Italic font face
17 italic:
18 family: "Source Code Pro"
19 #style: Italic
20
21 # Bold italic font face
22 bold_italic:
23 family: "Source Code Pro"
24 #style: Bold Italic
25
26 # Point size
27 size: 20
28
29 # Offset
30 #offset:
31 # x: 0
32 # y: 0
33
34 # Glyph offset
35 #glyph_offset:
36 # x: 0
37 # y: 0