diff options
Diffstat (limited to 'home/.config/alacritty')
-rw-r--r-- | home/.config/alacritty/alacritty.toml | 72 |
1 files changed, 52 insertions, 20 deletions
diff --git a/home/.config/alacritty/alacritty.toml b/home/.config/alacritty/alacritty.toml index 54ffe03..a08219b 100644 --- a/home/.config/alacritty/alacritty.toml +++ b/home/.config/alacritty/alacritty.toml @@ -1,29 +1,34 @@ [general] live_config_reload = false -[colors.bright] -black = "0x928374" -blue = "0x83a598" -cyan = "0x8ec07c" -green = "0xb8bb26" -magenta = "0xd3869b" -red = "0xfb4934" -white = "0xebdbb2" -yellow = "0xfabd2f" +# Default colors +[colors.primary] +# hard contrast background = = '#1d2021' +background = '#282828' +# soft contrast background = = '#32302f' +foreground = '#ebdbb2' +# Normal colors [colors.normal] -black = "0x282828" -blue = "0x458588" -cyan = "0x689d6a" -green = "0x98971a" -magenta = "0xb16286" -red = "0xcc241d" -white = "0xa89984" -yellow = "0xd79921" +black = '#282828' +red = '#cc241d' +green = '#98971a' +yellow = '#d79921' +blue = '#458588' +magenta = '#b16286' +cyan = '#689d6a' +white = '#a89984' -[colors.primary] -background = "0x1d2021" -foreground = "0xebdbb2" +# Bright colors +[colors.bright] +black = '#928374' +red = '#fb4934' +green = '#b8bb26' +yellow = '#fabd2f' +blue = '#83a598' +magenta = '#d3869b' +cyan = '#8ec07c' +white = '#ebdbb2' [cursor] blink_interval = 500 @@ -69,3 +74,30 @@ mods = "Alt" action = "ScrollToBottom" key = "G" mods = "Alt|Shift" + +[[hints.enabled]] +command = "xdg-open" +hyperlinks = true +post_processing = true +persist = false +mouse.enabled = true +binding = { key = "O", mods = "Control|Shift" } +regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩‘\\\\]+" + +[[hints.enabled]] +regex = " /[0-9a-zA-Z/\\-_\\.]+(:\\d*){0,2}" +command.program = "linkhandler" +post_processing = true +mouse.enabled = true + +[[hints.enabled]] +regex = "^/[0-9a-zA-Z/\\-_\\.]+(:\\d*){0,2}" +command.program = "linkhandler" +post_processing = true +mouse.enabled = true + +[[hints.enabled]] +regex = "[0-9a-zA-Z/\\-_\\.]+:(\\d+)(:\\d*)?" +command.program = "linkhandler" +post_processing = true +mouse.enabled = true |