Initial commit with translated description
This commit is contained in:
9
scripts/cursor_position.sh
Normal file
9
scripts/cursor_position.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# cursor_position.sh - Get current mouse coordinates
|
||||
|
||||
export DISPLAY=:99
|
||||
|
||||
# Get mouse location
|
||||
eval $(xdotool getmouselocation --shell 2>/dev/null)
|
||||
|
||||
echo "X=$X,Y=$Y"
|
||||
Reference in New Issue
Block a user