From e92703efe4cef30b736699f927c0d6bc82d2bdbd Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 9 May 2022 21:54:31 +0200 Subject: [PATCH] Add script for GW2 dodge jumping Signed-off-by: Severin Kaderli --- system/.config/sway/config | 2 ++ system/.local/bin/dodge-jump | 2 ++ 2 files changed, 4 insertions(+) create mode 100755 system/.local/bin/dodge-jump diff --git a/system/.config/sway/config b/system/.config/sway/config index 2c16c92..d739cb8 100644 --- a/system/.config/sway/config +++ b/system/.config/sway/config @@ -115,6 +115,8 @@ bindsym $SUPER+F11 fullscreen toggle # Toggle the current focus between tiling and floating mode bindsym $SUPER+S floating toggle +bindsym $SUPER+E exec dodge-jump + bindsym $SUPER+X mode "Resize" mode "Resize" { diff --git a/system/.local/bin/dodge-jump b/system/.local/bin/dodge-jump new file mode 100755 index 0000000..8e20435 --- /dev/null +++ b/system/.local/bin/dodge-jump @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +xdotool keydown 65 && xdotool mousedown 2 && xdotool keyup 65 && xdotool mouseup 2