Usage
Get information about a X window.
Without any options, you have to select the target window with the mouse.
Option | Description |
---|
-root | Make root the target window. |
Examples
Get ID of current window:
shellxprop -root _NET_ACTIVE_WINDOW | cut -d ' ' -f 5