about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hm/soispha/conf/alacritty/toml/hints.toml25
-rw-r--r--hm/soispha/conf/alacritty/toml/mouse.toml5
2 files changed, 8 insertions, 22 deletions
diff --git a/hm/soispha/conf/alacritty/toml/hints.toml b/hm/soispha/conf/alacritty/toml/hints.toml
index 855c6a05..439e5294 100644
--- a/hm/soispha/conf/alacritty/toml/hints.toml
+++ b/hm/soispha/conf/alacritty/toml/hints.toml
@@ -2,33 +2,24 @@
 alphabet = "jfkdls;ahgurieowpq"
 
 [[hints.enabled]]
-command = "xdg-open"
-hyperlinks = true
+command         = "xdg-open" # On Linux/BSD
+hyperlinks      = true
 post_processing = true
-regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+"
+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.binding]
-key = "U"
-mods = "Control|Shift"
-
-[hints.enabled.mouse]
-enabled = true
-mods = "None"
 
 [[hints.enabled]]
 action = "Paste"
 post_processing = false
+binding = { key = "T", mods = "Control|Shift" }
 regex = '''([^ '"`=:\[\(]*/)([^/: '"`\)\]]*)'''
 
-[hints.enabled.binding]
-key = "T"
-mods = "Control|Shift"
 
 [[hints.enabled]]
 action = "Paste"
 post_processing = false
+binding = { key = "H", mods = "Control|Shift" }
 regex = '([a-z0-9]{7})\s'
-
-[hints.enabled.binding]
-key = "H"
-mods = "Control|Shift"
diff --git a/hm/soispha/conf/alacritty/toml/mouse.toml b/hm/soispha/conf/alacritty/toml/mouse.toml
index 150210dc..eba68edf 100644
--- a/hm/soispha/conf/alacritty/toml/mouse.toml
+++ b/hm/soispha/conf/alacritty/toml/mouse.toml
@@ -1,7 +1,2 @@
 [mouse]
 hide_when_typing = false
-[mouse.double_click]
-threshold = 300
-
-[mouse.triple_click]
-threshold = 300