From 6ec4f549a9f19bc30fbd0f06539dd6293cd782bb Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 10 Jan 2024 11:12:38 +0800 Subject: Update --- X11/alacritty/alacritty.toml | 74 ++++++++++++++++++++++++++++++++++++++++++++ X11/alacritty/colors.toml | 23 ++++++++++++++ X11/alacritty/fonts.toml | 14 +++++++++ 3 files changed, 111 insertions(+) create mode 100644 X11/alacritty/alacritty.toml create mode 100644 X11/alacritty/colors.toml create mode 100644 X11/alacritty/fonts.toml (limited to 'X11') 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 @@ +import = ["/home/pham/.config/alacritty/colors.toml", "/home/pham/.config/alacritty/fonts.toml"] +live_config_reload = true + +[cursor] +unfocused_hollow = false + +[cursor.style] +blinking = "On" +shape = "Block" + +[env] +TERM = "alacritty" +WINIT_X11_SCALE_FACTOR = "1.0" + +[[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.binding] +key = "K" +mods = "Control|Shift" + +[hints.enabled.mouse] +enabled = true +mods = "None" + +[[hints.enabled]] +action = "Copy" +post_processing = true +regex = "([-_./0-9@-Za-z]{4,})" + +[hints.enabled.binding] +key = "I" +mods = "Control|Shift" + +[[keyboard.bindings]] +action = "SemanticRight" +key = "W" +mode = "Vi|~Search" +mods = "None" + +[[keyboard.bindings]] +action = "SemanticLeft" +key = "B" +mode = "Vi|~Search" +mods = "None" + +[[keyboard.bindings]] +action = "ScrollHalfPageDown" +key = "D" +mode = "Vi|~Search" +mods = "Control" + +[[keyboard.bindings]] +action = "ScrollHalfPageUp" +key = "U" +mode = "Vi|~Search" +mods = "Control" + +[window] +decorations = "full" +dynamic_title = true +opacity = 1.0 +startup_mode = "Windowed" + +[window.dimensions] +columns = 82 +lines = 18 + +[window.padding] +x = 24 +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 @@ +[colors.bright] +black = "#50545B" +blue = "#6CB8F9" +cyan = "#5FC0CC" +green = "#A2CD83" +magenta = "#D282E7" +red = "#EA757E" +white = "#B5BCC9" +yellow = "#EFCA84" + +[colors.normal] +black = "#32363D" +blue = "#177CC0" +cyan = "#55B6C2" +green = "#98C379" +magenta = "#C778DD" +red = "#E06B74" +white = "#ABB2BF" +yellow = "#E5C07A" + +[colors.primary] +background = "#1E2128" +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 @@ +[font] +size = 20 + +[font.bold] +family = "Source Code Pro" + +[font.bold_italic] +family = "Source Code Pro" + +[font.italic] +family = "Source Code Pro" + +[font.normal] +family = "Source Code Pro" -- cgit v1.2.3-70-g09d2