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 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 X11/alacritty/alacritty.toml (limited to 'X11/alacritty/alacritty.toml') 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 -- cgit v1.2.3-70-g09d2