diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-02-14 13:27:31 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-02-14 13:27:31 +0800 |
commit | 41ad31a2dee9ff912f222652f022b4c55cddcbf7 (patch) | |
tree | 6cd7fe23afc5d6d463cd6ad0d9400cddfa529fb4 /X11/alacritty | |
parent | 462fdbf99b1ab8c8218f360175d8ea97bb351b69 (diff) |
Move alacritty to X11
Diffstat (limited to 'X11/alacritty')
-rw-r--r-- | X11/alacritty/alacritty.yml | 48 | ||||
-rw-r--r-- | X11/alacritty/colors.yml | 30 | ||||
-rw-r--r-- | X11/alacritty/fonts.yml | 37 |
3 files changed, 115 insertions, 0 deletions
diff --git a/X11/alacritty/alacritty.yml b/X11/alacritty/alacritty.yml new file mode 100644 index 0000000..6debefe --- /dev/null +++ b/X11/alacritty/alacritty.yml | |||
@@ -0,0 +1,48 @@ | |||
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) | ||
9 | import: | ||
10 | - ~/.config/alacritty/colors.yml | ||
11 | - ~/.config/alacritty/fonts.yml | ||
12 | |||
13 | ## Set environment variables | ||
14 | env: | ||
15 | TERM: alacritty | ||
16 | WINIT_X11_SCALE_FACTOR: '1.0' | ||
17 | |||
18 | ## Terminal window settings | ||
19 | window: | ||
20 | dimensions: | ||
21 | columns: 82 | ||
22 | lines: 18 | ||
23 | |||
24 | padding: | ||
25 | x: 12 | ||
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 | ||
40 | cursor: | ||
41 | style: | ||
42 | shape: Block | ||
43 | blinking: On | ||
44 | |||
45 | unfocused_hollow: false | ||
46 | |||
47 | ## Live config reload | ||
48 | live_config_reload: true | ||
diff --git a/X11/alacritty/colors.yml b/X11/alacritty/colors.yml new file mode 100644 index 0000000..5c83d9f --- /dev/null +++ b/X11/alacritty/colors.yml | |||
@@ -0,0 +1,30 @@ | |||
1 | ## Colors configuration | ||
2 | colors: | ||
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.yml b/X11/alacritty/fonts.yml new file mode 100644 index 0000000..2ea94f1 --- /dev/null +++ b/X11/alacritty/fonts.yml | |||
@@ -0,0 +1,37 @@ | |||
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 | ||
5 | font: | ||
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: 18 | ||
28 | |||
29 | # Offset | ||
30 | #offset: | ||
31 | # x: 0 | ||
32 | # y: 0 | ||
33 | |||
34 | # Glyph offset | ||
35 | #glyph_offset: | ||
36 | # x: 0 | ||
37 | # y: 0 | ||