commit bc077adfafd695f3628084ff4368cb1e2b936f20
parent 053549be19c846ee618d07ca6339574a77a8aea4
Author: Peter <peter@minskio.co.uk>
Date: Tue, 3 Nov 2026 16:06:48 +0000
Add close bank common function
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/functions.sh b/functions.sh
@@ -44,6 +44,14 @@ function current_mouse() {
hyprctl cursorpos
}
+function close_bank() {
+ msleep 100 200
+ move_mouse 1086 323 14 14
+ msleep 100 200
+ left_click
+ msleep 200 300
+}
+
function move_mouse() {
# debug line: printf 'args(%d):' "$#"; printf ' [%q]' "$@"; printf '\n' >&2
local relative=0