Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thiago4532/xwinsize
- Owner: Thiago4532
- License: gpl-3.0
- Created: 2023-09-06T14:14:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T00:45:47.000Z (about 1 year ago)
- Last Synced: 2024-11-10T12:05:43.863Z (about 2 months ago)
- Language: C
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 windowThe following options are optional:
--monitor|-m: Keep monitoring the window size forever, printing it everytime it changes
--help|-h: Print the command line usage
```