mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
parent
6a7f7bf1c9
commit
960eeb722e
1 changed files with 2 additions and 2 deletions
|
@ -1144,9 +1144,9 @@ const platform_defaults = {
|
|||
linux: {
|
||||
nmaps: {
|
||||
";x":
|
||||
'hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + pos.x + " " + pos.y + "; xdotool click 1")}',
|
||||
'hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool click 1")}',
|
||||
";X":
|
||||
'hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + pos.x + " " + pos.y + "; xdotool keydown ctrl+shift; xdotool click 1; xdotool keyup ctrl+shift")}',
|
||||
'hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool keydown ctrl+shift; xdotool click 1; xdotool keyup ctrl+shift")}',
|
||||
} as unknown,
|
||||
},
|
||||
} as Record<browser.runtime.PlatformOs, default_config>
|
||||
|
|
Loading…
Add table
Reference in a new issue