Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thiago4532/xwinsize

A program to get window size from a X11 window
https://github.com/thiago4532/xwinsize

Last synced: 1 day ago
JSON representation

A program to get window size from a X11 window

Awesome Lists containing this project

README

        

# xwinsize

xwinsize is a simple program that prints a window's position and size. It also has a monitor option that keep listening the window and prints the window's position and size everytime the window is moved/resized.

## Installation

```sh
make
sudo make install # Default install location is /usr/local
# make PREFIX= install # If you want to install at another directory
```

## Usage
```
usage: xwinsize [options ...]
You must specify one of the following window options:
--name : Select the window with the specified name
--id : Select the window with the specified id
--root: Select the root window

The following options are optional:
--monitor|-m: Keep monitoring the window size forever, printing it everytime it changes
--help|-h: Print the command line usage
```