From b58e70103828bf40575339bf335ebab1ad2f1fbf Mon Sep 17 00:00:00 2001 From: Nikolay Arhipov Date: Thu, 4 Jan 2024 10:25:18 +0200 Subject: [PATCH] Migrated alacritty to toml --- .../home/.config/alacritty/alacritty.toml | 127 ++++++++++++++++++ .../user/home/.config/alacritty/alacritty.yml | 105 --------------- 2 files changed, 127 insertions(+), 105 deletions(-) create mode 100644 user/workstation/user/home/.config/alacritty/alacritty.toml delete mode 100644 user/workstation/user/home/.config/alacritty/alacritty.yml diff --git a/user/workstation/user/home/.config/alacritty/alacritty.toml b/user/workstation/user/home/.config/alacritty/alacritty.toml new file mode 100644 index 00000000..b01c6788 --- /dev/null +++ b/user/workstation/user/home/.config/alacritty/alacritty.toml @@ -0,0 +1,127 @@ +[bell] +color = "#fdf6e3" + +[colors.bright] +black = "#6272a4" +blue = "#d6acff" +cyan = "#a4ffff" +green = "#69ff94" +magenta = "#ff92df" +red = "#ff6e6e" +white = "#f8f8f2" +yellow = "#ffffa5" + +[colors.cursor] +cursor = "CellForeground" +text = "CellBackground" + +[colors.footer_bar] +background = "#282a36" +foreground = "#fdf6e3" + +[colors.hints.end] +background = "#282a36" +foreground = "#f1fa8c" + +[colors.hints.start] +background = "#f1fa8c" +foreground = "#282a36" + +[colors.line_indicator] +background = "None" +foreground = "None" + +[colors.normal] +black = "#21222c" +blue = "#bd93f9" +cyan = "#8be9fd" +green = "#50fa7b" +magenta = "#ff79c6" +red = "#ff5555" +white = "#fdf6e3" +yellow = "#f1fa8c" + +[colors.primary] +background = "#282a36" +bright_foreground = "#ffffff" +foreground = "#fdf6e3" + +[colors.search.focused_match] +background = "#ffb86c" +foreground = "#44475a" + +[colors.search.matches] +background = "#50fa7b" +foreground = "#44475a" + +[colors.selection] +background = "#44475a" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "CellForeground" +text = "CellBackground" + +[env] +LANG = "en_DK.UTF-8" +TERM = "xterm-256color" + +[font] +size = 14.0 + +[font.bold] +family = "Hack Nerd Font Propo" +style = "Bold" + +[font.italic] +family = "Hack Nerd Font Propo" +style = "Italic" + +[font.normal] +family = "Hack Nerd Font Propo" + +[[hints.enabled]] +command = "xdg-open" +post_processing = true +regex = "(magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+" + +[hints.enabled.mouse] +enabled = true +mods = "Control" + +[[keyboard.bindings]] +action = "Paste" +key = "Paste" + +[[keyboard.bindings]] +action = "Paste" +key = "V" +mode = "~Vi" +mods = "Control|Shift" + +[[keyboard.bindings]] +action = "Paste" +key = "Insert" +mods = "Shift" + +[mouse] +hide_when_typing = true + +[[mouse.bindings]] +action = "PasteSelection" +mouse = "Middle" + +[scrolling] +faux_multiplier = 3 +history = 50000 +multiplier = 3 + +[selection] +save_to_clipboard = false + +[window] +dynamic_padding = true + +[window.dimensions] +columns = 80 +lines = 24 diff --git a/user/workstation/user/home/.config/alacritty/alacritty.yml b/user/workstation/user/home/.config/alacritty/alacritty.yml deleted file mode 100644 index d319210c..00000000 --- a/user/workstation/user/home/.config/alacritty/alacritty.yml +++ /dev/null @@ -1,105 +0,0 @@ -env: - LANG: en_DK.UTF-8 - TERM: xterm-256color - -window: - dimensions: - columns: 80 - lines: 24 - dynamic_padding: true - -scrolling: - history: 50000 - multiplier: 3 - faux_multiplier: 3 - -font: - normal: - family: Hack Nerd Font Propo - bold: - family: Hack Nerd Font Propo - style: Bold - italic: - family: Hack Nerd Font Propo - style: Italic - size: 14.0 - -colors: - primary: - background: '#282a36' - foreground: '#fdf6e3' - bright_foreground: '#ffffff' - cursor: - text: CellBackground - cursor: CellForeground - vi_mode_cursor: - text: CellBackground - cursor: CellForeground - search: - matches: - foreground: '#44475a' - background: '#50fa7b' - focused_match: - foreground: '#44475a' - background: '#ffb86c' - footer_bar: - background: '#282a36' - foreground: '#fdf6e3' - hints: - start: - foreground: '#282a36' - background: '#f1fa8c' - end: - foreground: '#f1fa8c' - background: '#282a36' - line_indicator: - foreground: None - background: None - selection: - text: CellForeground - background: '#44475a' - normal: - black: '#21222c' - red: '#ff5555' - green: '#50fa7b' - yellow: '#f1fa8c' - blue: '#bd93f9' - magenta: '#ff79c6' - cyan: '#8be9fd' - white: '#fdf6e3' - bright: - black: '#6272a4' - red: '#ff6e6e' - green: '#69ff94' - yellow: '#ffffa5' - blue: '#d6acff' - magenta: '#ff92df' - cyan: '#a4ffff' - white: '#f8f8f2' - -bell: - color: '#fdf6e3' - -mouse_bindings: - - { mouse: Middle, action: PasteSelection } - -mouse: - hide_when_typing: true - -selection: - save_to_clipboard: false - -hints: - enabled: - - regex: "(magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" - command: xdg-open - post_processing: true - mouse: - enabled: true - mods: Control - -key_bindings: - - { key: Paste, action: Paste } - - { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } - - { key: Insert, mods: Shift, action: Paste } \ No newline at end of file