about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-13 13:26:12 +0100
committerSoispha <soispha@vhack.eu>2024-01-13 13:26:12 +0100
commit8b9f77ebadb8a114b911bc9e83153f29f2e8e0ca (patch)
tree345d14cb8f92ed81ccf32cbfcb7dc2ae80fcb4d5 /hm
parentfix(hm/conf/alacritty): Use correct name in hint key (diff)
downloadnixos-config-8b9f77ebadb8a114b911bc9e83153f29f2e8e0ca.tar.gz
nixos-config-8b9f77ebadb8a114b911bc9e83153f29f2e8e0ca.zip
fix(hm/conf/alacritty): Streamline config
Diffstat (limited to 'hm')
-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