srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/linux/linux-commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'linux/linux-commands.md')
-rw-r--r--linux/linux-commands.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/linux-commands.md b/linux/linux-commands.md
index 433e25d..52695f1 100644
--- a/linux/linux-commands.md
+++ b/linux/linux-commands.md
@@ -27,3 +27,11 @@ NOTE: `.` can also be used but is limited
or
`$ echo "text" 2>&1 | tee output-file` # print text without executing a command
- - -
+
+#### Getting information about a window
+ - To get id, size, position, state, class, etc...
+ `$ xwininfo`
+ or
+ `$ xdotool getwindowfocus getwindowgeometry` # just get size/position
+- - -
+