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