diff options
Diffstat (limited to 'modules/home.legacy/conf/alacritty/toml')
13 files changed, 482 insertions, 0 deletions
diff --git a/modules/home.legacy/conf/alacritty/toml/base.toml b/modules/home.legacy/conf/alacritty/toml/base.toml new file mode 100644 index 00000000..93c9942f --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/base.toml @@ -0,0 +1,16 @@ +# Configuration for Alacritty, the GPU enhanced terminal emulator. + +# If `true`, bold text is drawn using the bright color variants. +#draw_bold_text_with_bright_colors: true # TODO: + +# Live config reload (changes require restart) +live_config_reload = true + +# Startup directory +# +# Directory the shell is started in. If this is unset, or `None`, the working +# directory of the parent process will be used. +#working_directory: None + +# Offer IPC using `alacritty msg` (unix only) +ipc_socket = true diff --git a/modules/home.legacy/conf/alacritty/toml/bell.toml b/modules/home.legacy/conf/alacritty/toml/bell.toml new file mode 100644 index 00000000..912d08e3 --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/bell.toml @@ -0,0 +1,7 @@ +# Bell +# +# The bell is rung every time the BEL control character is received. +[bell] +# Duration of the visual bell flash in milliseconds. A `duration` of `0` will +# disable the visual bell animation. +duration = 0 diff --git a/modules/home.legacy/conf/alacritty/toml/colorscheme.toml b/modules/home.legacy/conf/alacritty/toml/colorscheme.toml new file mode 100644 index 00000000..f98a5b91 --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/colorscheme.toml @@ -0,0 +1,79 @@ +# Nightfox Alacritty Colors +## name: carbonfox +## upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/carbonfox/alacritty.toml + +[colors.primary] +background = "#161616" +foreground = "#f2f4f8" +dim_foreground = "#b6b8bb" +bright_foreground = "#f9fbff" + +[colors.cursor] +text = "#f2f4f8" +cursor = "#b6b8bb" + +[colors.vi_mode_cursor] +text = "#f2f4f8" +cursor = "#33b1ff" + +[colors.search.matches] +foreground = "#f2f4f8" +background = "#525253" + +[colors.search.focused_match] +foreground = "#f2f4f8" +background = "#3ddbd9" + +[colors.footer_bar] +foreground = "#f2f4f8" +background = "#353535" + +[colors.hints.start] +foreground = "#f2f4f8" +background = "#3ddbd9" + +[colors.hints.end] +foreground = "#f2f4f8" +background = "#353535" + +[colors.selection] +text = "#f2f4f8" +background = "#2a2a2a" + +[colors.normal] +black = "#282828" +red = "#ee5396" +green = "#25be6a" +yellow = "#08bdba" +blue = "#78a9ff" +magenta = "#be95ff" +cyan = "#33b1ff" +white = "#dfdfe0" + +[colors.bright] +black = "#484848" +red = "#f16da6" +green = "#46c880" +yellow = "#2dc7c4" +blue = "#8cb6ff" +magenta = "#c8a5ff" +cyan = "#52bdff" +white = "#e4e4e5" + +[colors.dim] +black = "#222222" +red = "#ca4780" +green = "#1fa25a" +yellow = "#07a19e" +blue = "#6690d9" +magenta = "#a27fd9" +cyan = "#2b96d9" +white = "#bebebe" + +[[colors.indexed_colors]] +index = 16 +color = "#3ddbd9" + +[[colors.indexed_colors]] +index = 17 +color = "#ff7eb6" diff --git a/modules/home.legacy/conf/alacritty/toml/cursor.toml b/modules/home.legacy/conf/alacritty/toml/cursor.toml new file mode 100644 index 00000000..d9cb93f4 --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/cursor.toml @@ -0,0 +1,11 @@ +[cursor] +blink_interval = 750 +blink_timeout = 5 +thickness = 0.15 +unfocused_hollow = true +vi_mode_style = "None" + +# Cursor style +[cursor.style] +blinking = "On" +shape = "Beam" diff --git a/modules/home.legacy/conf/alacritty/toml/env.toml b/modules/home.legacy/conf/alacritty/toml/env.toml new file mode 100644 index 00000000..fdd4e5d1 --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/env.toml @@ -0,0 +1,3 @@ +[env] +TERM = "alacritty" +COLORTERM = "truecolor" diff --git a/modules/home.legacy/conf/alacritty/toml/font.toml b/modules/home.legacy/conf/alacritty/toml/font.toml new file mode 100644 index 00000000..dd18a6fb --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/font.toml @@ -0,0 +1,15 @@ +[font] +builtin_box_drawing = true +size = 12.0 + +[font.glyph_offset] +x = -1 +y = -1 + +[font.normal] +family = "SauceCodePro Nerd Font Mono" +style = "Regular" + +[font.offset] +x = -1 +y = -1 diff --git a/modules/home.legacy/conf/alacritty/toml/hints.toml b/modules/home.legacy/conf/alacritty/toml/hints.toml new file mode 100644 index 00000000..31d91a37 --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/hints.toml @@ -0,0 +1,25 @@ +[hints] +alphabet = "jfkdls;ahgurieowpq" + +[[hints.enabled]] +command = "xdg-open" # On Linux/BSD +hyperlinks = true +post_processing = true +persist = false +mouse.enabled = true +binding = { key = "U", mods = "Control|Shift" } +regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + + +[[hints.enabled]] +action = "Paste" +post_processing = false +binding = { key = "T", mods = "Control|Shift" } +regex = '''([^ '"`=:\[\(]*/)([^/: '"`\)\]]*)''' + + +[[hints.enabled]] +action = "Paste" +post_processing = false +binding = { key = "H", mods = "Control|Shift" } +regex = '([a-z0-9]{7,40})\s' diff --git a/modules/home.legacy/conf/alacritty/toml/keyboard_bindings.toml b/modules/home.legacy/conf/alacritty/toml/keyboard_bindings.toml new file mode 100644 index 00000000..8e0b1e13 --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/keyboard_bindings.toml @@ -0,0 +1,297 @@ +[[keyboard.bindings]] +action = "Paste" +key = "P" +mods = "Control" + +[[keyboard.bindings]] +action = "Paste" +key = "Insert" +mods = "Shift" + +[[keyboard.bindings]] +chars = "gc" +key = "Slash" +mods = "Control" + +[[keyboard.bindings]] +action = "Copy" +key = "Y" +mods = "Control" + +[[keyboard.bindings]] +action = "ResetFontSize" +key = "Key0" +mods = "Control" + +[[keyboard.bindings]] +action = "IncreaseFontSize" +key = "Equals" +mods = "Control" + +[[keyboard.bindings]] +action = "IncreaseFontSize" +key = "Plus" +mods = "Control" + +[[keyboard.bindings]] +action = "DecreaseFontSize" +key = "Minus" +mods = "Control" + +[[keyboard.bindings]] +action = "ToggleViMode" +key = "Space" +mods = "Control" + +[[keyboard.bindings]] +action = "ScrollToBottom" +key = "Space" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ScrollToBottom" +key = "I" +mode = "Vi" + +[[keyboard.bindings]] +action = "ToggleViMode" +key = "I" +mode = "Vi" + +[[keyboard.bindings]] +action = "ScrollToBottom" +key = "C" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ToggleViMode" +key = "C" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ClearSelection" +key = "Escape" +mode = "Vi" + +[[keyboard.bindings]] +action = "ScrollLineUp" +key = "Y" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ScrollLineDown" +key = "E" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ScrollToTop" +key = "G" +mode = "Vi" + +[[keyboard.bindings]] +action = "ScrollToBottom" +key = "G" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "ScrollPageUp" +key = "B" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ScrollPageDown" +key = "F" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ScrollHalfPageUp" +key = "U" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ScrollHalfPageDown" +key = "D" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "Copy" +key = "Y" +mode = "Vi" + +[[keyboard.bindings]] +action = "ClearSelection" +key = "Y" +mode = "Vi" + +[[keyboard.bindings]] +action = "ToggleNormalSelection" +key = "V" +mode = "Vi" + +[[keyboard.bindings]] +action = "ToggleLineSelection" +key = "V" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "ToggleBlockSelection" +key = "V" +mode = "Vi" +mods = "Control" + +[[keyboard.bindings]] +action = "ToggleSemanticSelection" +key = "V" +mode = "Vi" +mods = "Alt" + +[[keyboard.bindings]] +action = "Open" +key = "Return" +mode = "Vi" + +[[keyboard.bindings]] +action = "Up" +key = "K" +mode = "Vi" + +[[keyboard.bindings]] +action = "Down" +key = "J" +mode = "Vi" + +[[keyboard.bindings]] +action = "Left" +key = "H" +mode = "Vi" + +[[keyboard.bindings]] +action = "Right" +key = "L" +mode = "Vi" + +[[keyboard.bindings]] +action = "Up" +key = "Up" +mode = "Vi" + +[[keyboard.bindings]] +action = "Down" +key = "Down" +mode = "Vi" + +[[keyboard.bindings]] +action = "Left" +key = "Left" +mode = "Vi" + +[[keyboard.bindings]] +action = "Right" +key = "Right" +mode = "Vi" + +[[keyboard.bindings]] +action = "First" +key = "Key0" +mode = "Vi" + +[[keyboard.bindings]] +action = "Last" +key = "Key4" +mode = "Vi" + +[[keyboard.bindings]] +action = "FirstOccupied" +key = "Key6" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "High" +key = "H" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "Middle" +key = "M" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "Low" +key = "L" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "SemanticLeft" +key = "B" +mode = "Vi" + +[[keyboard.bindings]] +action = "SemanticRight" +key = "W" +mode = "Vi" + +[[keyboard.bindings]] +action = "SemanticRightEnd" +key = "E" +mode = "Vi" + +[[keyboard.bindings]] +action = "WordLeft" +key = "B" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "WordRight" +key = "W" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "WordRightEnd" +key = "E" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "Bracket" +key = "Key5" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "SearchForward" +key = "Slash" +mode = "Vi" + +[[keyboard.bindings]] +action = "SearchBackward" +key = "Slash" +mode = "Vi" +mods = "Shift" + +[[keyboard.bindings]] +action = "SearchNext" +key = "N" +mode = "Vi" + +[[keyboard.bindings]] +action = "SearchPrevious" +key = "N" +mode = "Vi" +mods = "Shift" diff --git a/modules/home.legacy/conf/alacritty/toml/mouse.toml b/modules/home.legacy/conf/alacritty/toml/mouse.toml new file mode 100644 index 00000000..eba68edf --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/mouse.toml @@ -0,0 +1,2 @@ +[mouse] +hide_when_typing = false diff --git a/modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml b/modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml new file mode 100644 index 00000000..1b281748 --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml @@ -0,0 +1,3 @@ +[[mouse.bindings]] +action = "Copy" +mouse = "Middle" diff --git a/modules/home.legacy/conf/alacritty/toml/scrolling.toml b/modules/home.legacy/conf/alacritty/toml/scrolling.toml new file mode 100644 index 00000000..ed7c22cf --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/scrolling.toml @@ -0,0 +1,3 @@ +[scrolling] +history = 10000 +multiplier = 3 diff --git a/modules/home.legacy/conf/alacritty/toml/selection.toml b/modules/home.legacy/conf/alacritty/toml/selection.toml new file mode 100644 index 00000000..60ea0495 --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/selection.toml @@ -0,0 +1,3 @@ +[selection] +save_to_clipboard = false +semantic_escape_chars = ",│`|:\"' ()[]{}<>\t" diff --git a/modules/home.legacy/conf/alacritty/toml/window.toml b/modules/home.legacy/conf/alacritty/toml/window.toml new file mode 100644 index 00000000..123b5b7a --- /dev/null +++ b/modules/home.legacy/conf/alacritty/toml/window.toml @@ -0,0 +1,18 @@ +[window] +decorations = "none" +decorations_theme_variant = "None" +dynamic_title = true +opacity = 0.9 +startup_mode = "Windowed" +title = "Alacritty" +[window.class] +general = "Alacritty" +instance = "Alacritty" + +[window.dimensions] +columns = 0 +lines = 0 + +[window.padding] +x = 5 +y = 5 |