From 127d8bf861e5c14f57cb310111866031f9de9bd5 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 1 Jan 2024 04:32:22 +0100 Subject: [PATCH] add cursor placement --- pixelfloot_bash.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pixelfloot_bash.sh b/pixelfloot_bash.sh index 275c1e0..7f142a1 100755 --- a/pixelfloot_bash.sh +++ b/pixelfloot_bash.sh @@ -153,6 +153,9 @@ shuf_xy() { static) echo "OFFSET 1200 420" ;; + + cursor) echo "OFFSET $(xdotool getmouselocation | tr ':' ' '|awk '{print $2 " " $4}')" + ;; *) echo "OFFSET 420 420" ;;