Skip to content

Instantly share code, notes, and snippets.

@guangxuanliu
Created October 30, 2022 14:56
Show Gist options
  • Save guangxuanliu/93a4427dd7121736e3feb189a13e87fa to your computer and use it in GitHub Desktop.
Save guangxuanliu/93a4427dd7121736e3feb189a13e87fa to your computer and use it in GitHub Desktop.
鼠标点选指定窗口获取窗口PID
xprop _NET_WM_PID | cut -d' ' -f3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment