{"id":15629704,"url":"https://github.com/anko/xwincat","last_synced_at":"2025-08-24T17:39:00.424Z","repository":{"id":24261485,"uuid":"27655369","full_name":"anko/xwincat","owner":"anko","description":"simple X11 window position logger","archived":false,"fork":false,"pushed_at":"2019-02-13T05:26:28.000Z","size":5,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T12:11:20.453Z","etag":null,"topics":["log","tool","window","x11"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anko.png","metadata":{"files":{"readme":"readme.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-07T01:24:21.000Z","updated_at":"2024-10-29T18:40:34.000Z","dependencies_parsed_at":"2022-07-24T01:02:25.929Z","dependency_job_id":null,"html_url":"https://github.com/anko/xwincat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anko%2Fxwincat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anko%2Fxwincat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anko%2Fxwincat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anko%2Fxwincat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anko","download_url":"https://codeload.github.com/anko/xwincat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251484744,"owners_count":21596804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["log","tool","window","x11"],"created_at":"2024-10-03T10:28:13.370Z","updated_at":"2025-04-29T10:36:38.876Z","avatar_url":"https://github.com/anko.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xwincat\n\nX11 window position logger with a simple output format: One window position\nchange per line on `stdout`.\n\n![Window cats. The name is referringto the UNIX cat program though.][1]\n\u003cbr /\u003e\u003csup\u003eImage credit: [Pixabay][2] user 123090\u003c/sup\u003e\n\n\nNice for drawing some sort of composited overlay, or for fun statistics.\n\n## Format\n\nOn startup, `xwincat` prints a line\n\n    screen \u003cwidth\u003e \u003cheight\u003e\n\nwhere the integers `\u003cwidth\u003e` and `\u003cheight\u003e` represent the dimensions of the\nfirst screen it found.\n\nWhenever a window changes position or size, it prints a line\n\n    window \u003cwindow_id\u003e \u003cx\u003e \u003cy\u003e \u003cwidth\u003e \u003cheight\u003e\n\nwhere the fields are again pretty self-explanitory.  The (x,y) position is from\ntop-left of the screen.\n\nPopup windows (with the `override_redirect`-flag set) are ignored by default,\nbut can be enabled if you want them with the `-popups` flag.\n\nIf you passed `-time`, an epoch timestamp is additionally printed at the end of\n`window` lines.\n\n## Compilation\n\nJust `make`.\n\nDon't have `clang`? Edit the `makefile` to use `gcc`.\n\n## Usage\n\nFlags you can pass (all optional):\n\n - `-display \u003cdisplay\u003e`: set target X display (default `:0`)\n - `-time`: also append epoch timestamps (default: don't)\n - `-popup`: also print popup window changes (default: don't)\n - `-help`: print usage hints and exit\n\nInterrupt signal (`C-c`) to end.\n\n## Related programs\n\nIf you want to similarly log what keys are pressed, you might like\n[`xkbcat`][3].\n\n## License\n\n[ISC][4].\n\n\n[1]: https://cloud.githubusercontent.com/assets/5231746/5329631/5b4f0714-7db8-11e4-8476-921b166ad1c3.jpg\n[2]: http://pixabay.com/en/cat-window-sit-pet-masonry-437973/\n[3]: https://github.com/anko/xkbcat\n[4]: http://opensource.org/licenses/ISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanko%2Fxwincat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanko%2Fxwincat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanko%2Fxwincat/lists"}