rio icon indicating copy to clipboard operation
rio copied to clipboard

Unable to change mouse mod on Linux

Open jetsaredim opened this issue 7 months ago • 0 comments

Attempting to change the click modifier for links from the default alt + click to ctrl + click does not appear to get applied.

First, there's an example of how to use shift modifier in the docs but the example is wrong and throws warnings. A direct copy/pasta into config.toml instantly throws a warning about the toml syntax.

Second, I attempted to break out the example into a toml-compliant set of stanzas (see below) that eliminates the warning but that doesn't appear to be getting taken up by rio. In the end no config changes are made and the default alt + click behavior is still in place.

[hints]
alphabet = "jfkdls;ahgurieowpq"

[[hints.rules]]
regex = "(https://|http://)[^\\u{0000}-\\u{001F}\\u{007F}-\\u{009F}<>\"\\\\s{-}\\\\^⟨⟩`\\\\]+"
hyperlinks = true
post-processing = true
persist = false

[hints.rules.action]
command = "open"

[hints.rules.mouse]
enabled = true
mods = ["Ctrl"]

[hints.rules.binding]
key = "U"
mods = ["Control", "Shift"]

jetsaredim avatar May 01 '26 12:05 jetsaredim