alacritty: Only run xdg-open on links if Control is pressed

This commit is contained in:
Peter Cai 2023-07-18 10:57:18 -04:00
parent 9e78eb0a9e
commit 049246a1cb

View file

@ -48,3 +48,6 @@ lines = 32
[window.padding]
x = 2
y = 2
[hints]
enabled = [{ regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+", hyperlinks = true, post_processing = true, persist = false, command = { program = "xdg-open" }, mouse = { enabled = true, mods = "Control" }, binding = { key = "U", mods = "Control | Shift" } }]