Skip to content

Commit

Permalink
Update plugin/mouse/mouse.py
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Cohen <phillip@phillip.io>
  • Loading branch information
AndreasArvidsson and phillco authored Nov 16, 2024
1 parent 8ba874a commit 393151f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/mouse/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ def mouse_sleep():

def copy_mouse_position():
"""Copy the current mouse position coordinates"""
x = actions.mouse_x()
y = actions.mouse_y()
x, y = actions.mouse_x(), actions.mouse_y()
actions.clip.set_text(f"{x}, {y}")

def mouse_move_center_active_window():
Expand Down

0 comments on commit 393151f

Please sign in to comment.