What I want to do is determine the size (columns and rows) of the window a script is running in. xwininfo will tell me that but I have to either click in the window or know the window name/id before calling it.
Requiring a click isn't satisfactory in this script so is there a program that will print the name and/or id of the window in which it is executing so I can capture it and pass that to xwininfo?
Requiring a click isn't satisfactory in this script so is there a program that will print the name and/or id of the window in which it is executing so I can capture it and pass that to xwininfo?